My server runs Cloudlinux 5.11 with CageFS and PHP Selector. Default PHP version is 5.3.
I have one account using PHP 5.3, one account using PHP 5.5, and one account using PHP 5.6.
I'm trying to figure out how to update each account's php.ini or each PHP version's default php.ini.
So far I've figured out how to update PHP 5.3's default php.ini:
phpinfoon the PHP 5.3 account shows the loaded configuration file is from
Then the modified
/usr/local/lib/php.ini is reflected on the
However, for PHP 5.5. and 5.6 accounts, I can't figure out how to update their default php.ini's.
phpinfoshows the loaded configuration files are from
Update those files
Afterwards, the changes of these php.ini's are reverted! So where is the right place to change these PHP versions' default php.ini's?
Being able to update each PHP version's default php.ini would work for me, but it would be even easier and more flexible if each domain account (or even each folder) can have its own php.ini.
/public_html/.htaccess. They don't take effect at all.
ini_set in script works though, but of course I don't want to reply on just