Edit /usr/local/cpanel/3rdparty/etc/php.ini to set register_globals to off


Active Member
Feb 8, 2013
cPanel Access Level
Root Administrator
From an old post:
I have modified the /usr/local/cpanel/3rdparty/etc/php.ini with register_globals = Off, but the weird thing, after some minutes, it turns to be On again....
This happens to me too. I edited the file as root in shell. I also tried to run this,
but it has no effect on the php.ini file :-(

Using ConfigServer Explorer, I also tried changing the register_global to "off" but it says "Operation Failed - Operation Not Permitted"

In my Tweak Settings, the register_globals is already set to OFF but i need to further set the register_globals to OFF in /usr/local/cpanel/3rdparty/etc/php.ini

By the way, I won't be using Fantastico or RV Skin which might broke this particular cpanel php.ini is modified. So where and how do i edit it for good?

My vps runs on Centos 6.3.3 64-bit with WHM 11.34.1 (build 7). Thanks in advance.
Last edited: