Question
Plesk is installed on CloudLinux. CageFS in turned on and PHP Selector is installed.
Each domain of the subscription example.com
has PHP version 5.3.29. phpinfo
pages for these domains show PHP version 5.3.29.
Changing the PHP version to 5.4.45 for any domain of the subscription example.com
is not reflected on the domains' phpinfo
page. Why is version 5.3.29 still shown?
Answer
PHP version of PHP Selector overrides PHP version in Plesk.
As a result, any changes of PHP version in Subscriptions > example.com > PHP Settings do not have an impact.
There are two ways to prioritize PHP version set in Plesk over the version set in the PHP Selector:
- Go to Subscriptions > example.com > PHP Selector and set Current PHP Version to native.
- Set PHP-FPM as handler Subscriptions > example.com > PHP Settings. This handler is not supported by PHP Selector and it will override the PHP Selector settings.
Note: if LSPHP is used PHP selector has to be used because Plesk does not support LSPHP.