zEitEr
Super Moderator
Hello,
Currently when using suPHP and 2 versions of PHP (both as suPHP), we have globally specified php.ini:
e.g.
in /etc/httpd/conf/extra/httpd-suphp.conf
I'd suggest that you remove the line from the file and move it into:
virtual_host2.conf
virtual_host2_secure.conf
virtual_host2_secure_sub.conf
virtual_host2_sub.conf
the following way:
this way we will have a corresponding to a PHP version php.ini with its build extensions. And suphp won't try to load extensions for PHP 5.3 if we switch to use 5.4, 5.5 or other.
Currently when using suPHP and 2 versions of PHP (both as suPHP), we have globally specified php.ini:
e.g.
Code:
suPHP_ConfigPath /usr/local/php53/lib/
in /etc/httpd/conf/extra/httpd-suphp.conf
I'd suggest that you remove the line from the file and move it into:
virtual_host2.conf
virtual_host2_secure.conf
virtual_host2_secure_sub.conf
virtual_host2_sub.conf
the following way:
Code:
|*if SUPHP="1"|
suPHP_Engine |PHP|
suPHP_ConfigPath /usr/local/php|PHP1_RELEASE|/lib/
suPHP_UserGroup |USER| |GROUP|
|*endif|
this way we will have a corresponding to a PHP version php.ini with its build extensions. And suphp won't try to load extensions for PHP 5.3 if we switch to use 5.4, 5.5 or other.