Hello,
I know the issue is with CloudLinux, but cPanel community is better (no exaggeration at all)
There are multiple websites and I have hidden MultiPHP Manager from Feature List in cPanel, but enabled PHP Selector CloudLinux. Now all users by default are in "cagefs" and use "inherit" version of PHP. So they choose the version from PHP Selector and it works fine.
But today one client has asked me to do this: domain.com ==> PHP 5.6 (using PHP Selector), sub.domain.com ==> PHP 7.0 (I changed to this version from WHM-->MultiPHP Manager)
The main domain works fine but in the sub domain, I see some errors like some extensions, mysqli and gd are not enabled.
I did enable them manually by adding "extension=NAME.so" in "php.ini" file.
But if I change PHP version in cPanel interface to version 7.0, I see all extensions are enabled and work fine.
The issue is only when I do this through the MultiPHP Manager.
Would you please help me how to fix this issue so that in the future if another one needed to do this, I would know?
Thanks in advance
I know the issue is with CloudLinux, but cPanel community is better (no exaggeration at all)
There are multiple websites and I have hidden MultiPHP Manager from Feature List in cPanel, but enabled PHP Selector CloudLinux. Now all users by default are in "cagefs" and use "inherit" version of PHP. So they choose the version from PHP Selector and it works fine.
But today one client has asked me to do this: domain.com ==> PHP 5.6 (using PHP Selector), sub.domain.com ==> PHP 7.0 (I changed to this version from WHM-->MultiPHP Manager)
The main domain works fine but in the sub domain, I see some errors like some extensions, mysqli and gd are not enabled.
I did enable them manually by adding "extension=NAME.so" in "php.ini" file.
But if I change PHP version in cPanel interface to version 7.0, I see all extensions are enabled and work fine.
The issue is only when I do this through the MultiPHP Manager.
Would you please help me how to fix this issue so that in the future if another one needed to do this, I would know?
Thanks in advance