register_globals warning from CSF

  • March 5, 2013
This is to solve the CSF error message when the following message appear:

PHP register_globals is considered a high security risk. It is currently enabled in /usr/local/cpanel/3rdparty/etc/php.ini and should be disabled (disabling may break 3rd party PHP cPanel apps)

1. chattr -a /usr/local/cpanel/3rdparty/etc/php.ini 

2. Edit the file via:

pico /usr/local/cpanel/3rdparty/etc/php.ini

And turn the globals off:

3. php /usr/local/cpanel/bin/install_php_inis 

4. chattr +a /usr/local/cpanel/3rdparty/etc/php.ini 

How helpful was this article to you?

Posting has been disabled.