This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
PHP / Re: PHP Version Switcher
« on: August 02, 2017, 08:44:38 AM »
The version switcher works fine for me but I have a few concerns with it:
1. What's the point of providing such feature while there's a packaged version available (cwp-php) installed by default? I believe it would be more logical to package and maintain one particular version used as the PHP interpreter for the CWP web interface and several other system functions and use PHP Selector for providing PHP usage feature for users. Now that I compiled version 5.6.31 using the Version Switcher, I have two separate instances of the same PHP version (one in /usr/local and one in /opt/alt/php56) which looks pointless to me.
2. Both the packaged and the manually compiled version install files to /usr/local directory. I believe this is not very wise as it might cause file conflicts between the compiled and the packaged version and also, overwriting files provided by packages is never a good idea (except for configuration files, of course).
3. As it was pointed out by other users, it would be nice to provide some interface to customize configure options (or at least extend them so that features/modules required for CWP to work may not be disabled).
Anyway, CWP is a great piece of software, I started testing it a few days ago and has been loving it, so far. Keep up the good work, guys!
1. What's the point of providing such feature while there's a packaged version available (cwp-php) installed by default? I believe it would be more logical to package and maintain one particular version used as the PHP interpreter for the CWP web interface and several other system functions and use PHP Selector for providing PHP usage feature for users. Now that I compiled version 5.6.31 using the Version Switcher, I have two separate instances of the same PHP version (one in /usr/local and one in /opt/alt/php56) which looks pointless to me.
2. Both the packaged and the manually compiled version install files to /usr/local directory. I believe this is not very wise as it might cause file conflicts between the compiled and the packaged version and also, overwriting files provided by packages is never a good idea (except for configuration files, of course).
3. As it was pointed out by other users, it would be nice to provide some interface to customize configure options (or at least extend them so that features/modules required for CWP to work may not be disabled).
Anyway, CWP is a great piece of software, I started testing it a few days ago and has been loving it, so far. Keep up the good work, guys!
Pages: [1]