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.
Features
- List custom php.ini files, per user
- Ability to activate / deactivate the use of a custom php.ini file, per user
- Built-in editor
- Ability to update all custom php.ini files with the global copy, while retaining custom settings
- Checks to see if suPHP is correctly set-up to handle custom php.ini files
- More!
Installation instructions
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.
Uninstall instructions
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