Rebuild php.ini in Cpanel Server

First rename php.ini, so you can copy it back or compare if anything go wrong

mv /usr/local/lib/php.ini /usr/local/lib/php.ini.bak.$(date +%m%d%Y%H)

Now run

/scripts/phpini

This will generate new php.ini file.


Posted in Cpanel Server