Hello Friends i'm new to cpanal i like to change my php configuration in cpanal any one here can tell me how to change. when i search in google i got this link /usr/local/cpanel/bin/rebuild_phpconf how to enter into that place can any one tell me how to goto that place.
Hello, If you have ssh access to your server. You can run following command which will give you path to your php.ini file which is php configuration file. Either way you can edit your php configuration in WHM 1. php -i | grep php.ini You can edit this file using editor like vi, nano etc. and can change settings 2. vi /usr/local/lib/php.ini However, edit this file if you know what you are doing, otherwise I would like to suggest to take help of any expert. Thanks
You should see an option in your cpanel which says "PHP Configuration" or "php.ini QuickConfig" under the "Software/Services" section. This was on cpanel version 11. Might look different for you if you are using a different version. If you are on shared hosting some settings cannot be changed.
If PHP is running as a DSO, you can also try php_flag and php_value in .htaccess as well. Any of the above will work too.
To make the changes in PHP configuration, you will need the root access of the server. The default location of php.ini is /usr/local/lib/php.ini for cPAnel server. You may also need to recompile Apache and PHP to enable/disable options. Kailash
You need to use WHM for this, not cPanel. Once you log into WHM, you can go to: Main >> Service Configuration >> PHP Configuration Editor