Knowledgebase
Edit PHP.ini on CloudLinux server
Posted by Premium Reseller on 04 July 2013 11:21 PM

To update server-wide php configuration, we need to edit php.ini file at

/usr/local/lib/php.ini

After making change, run command to update cagefs setting

cagefsctl --force-update

You should see the change reflected when checking php info on a specific hosting account.

Php.ini location on php info page shows usr/selector/php.ini which is a virtual link inside cagefs for each cpanel user.

(9 vote(s))
This article was helpful
This article was not helpful