Home > CPanel / WHM, Installation, WHM Plugins > How to install php.ini manager plugin in WHM

How to install php.ini manager plugin in WHM

September 10th, 2012 Leave a comment Go to comments

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.

 

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

 
Categories: CPanel / WHM, Installation, WHM Plugins Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.