Want to edit the php.ini file directly...

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
Houston, TX
cPanel Access Level
Root Administrator
Any modifications you make by editing the php.ini file by hand will be lost when cPanel or PHP is updated (as in, by running EasyApache). Use the editor in the WebHost Manager. It is the only way to preserve custom changes.
 
Sep 21, 2011
24
0
51
cPanel Access Level
Root Administrator
You can edit it Via SSH

Code:
nano /usr/local/lib/php.ini
thanks... but I already know that :P
Any modifications you make by editing the php.ini file by hand will be lost when cPanel or PHP is updated (as in, by running EasyApache). Use the editor in the WebHost Manager. It is the only way to preserve custom changes.
thanks... thats what I wanted to know...
 

DrLightman

Registered
Apr 10, 2013
1
0
1
cPanel Access Level
Root Administrator
Use the editor in the WebHost Manager. It is the only way to preserve custom changes.
Any idea on how to add new lines through the PHP Configuration Editor? It seems possible only to modify existing ones, not add new ones. I need to add this line:

zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ioncube_loader_lin_5.2.so
Thank you.
 

postcd

Well-Known Member
Oct 22, 2010
717
19
68
same as DrLightman, i need to add: suhosin.executor.func.blacklist
but i dont see im able to add new line from WHM?
Been said that changes will be overwriten but no alternative solution provided..