I have PHP selector on giving my accounts the choice between CLs versions of PHP56, PHP70 and PHP71.
Most are now on PHP71 and if I pull up a web page to display PHPINFO (temporarily enabled for the purpose) it shows the same version.
If I disable modules or modify PHP options in the selected version, this is reflected in the behaviour of the account.
So it appears to all intents and purposes as if the selected PHP version is running.
But!
If I create a PHP script in the same account which is set to take a long time to run so I can see it in the process list (ps -ef) or by looking in WHMs interface version of the same, I see it showing that its running under the native PHP 5.6.
Eg.
49457 (Trace) (Kill) accountname 0 0.55 0.20 /opt/cpanel/ea-php56/root/usr/bin/php-cgi /home/accountname/public_html/slowphp.php
The same script outputs PHPINFO which shows:
PHP Version 7.1.3
Is this normal? Any thoughts on what the hecks going on?
TY!
Most are now on PHP71 and if I pull up a web page to display PHPINFO (temporarily enabled for the purpose) it shows the same version.
If I disable modules or modify PHP options in the selected version, this is reflected in the behaviour of the account.
So it appears to all intents and purposes as if the selected PHP version is running.
But!
If I create a PHP script in the same account which is set to take a long time to run so I can see it in the process list (ps -ef) or by looking in WHMs interface version of the same, I see it showing that its running under the native PHP 5.6.
Eg.
49457 (Trace) (Kill) accountname 0 0.55 0.20 /opt/cpanel/ea-php56/root/usr/bin/php-cgi /home/accountname/public_html/slowphp.php
The same script outputs PHPINFO which shows:
PHP Version 7.1.3
Is this normal? Any thoughts on what the hecks going on?
TY!
Comment