How to install php.ini manager plugin in WHM
PHP.ini Manager (phpinimgr) is a WHM plugin designed to help you manage custom php.ini files for your users. It will list all php.ini files in the users root and www folder. If you are using suPHP, you can laso use PHP.ini Manager to activate, edit and update custom php.ini files for your users.
To install PHP.ini Manager, open a SSH connection to your server and execute the following commands:
cd /usr/local/cpanel/whostmgr/docroot/cgi wget -O addon_phpinimgr.php http://download.how2.be/whm/phpinimgr/addon_phpinimgr.php.txt chmod 700 addon_phpinimgr.php
You will now find PHP.ini Manager in WHM, under the Plugins section.
If you want to remove PHP.ini Manager, just run these commands. Please note that this only removes the plugin. Any custom php.ini files that you have set and/or enabled will not be removed.
rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/phpinimgr/ rm -f /usr/local/cpanel/whostmgr/docroot/cgi/addon_phpinimgr.php