Home arrow Our News arrow PHP magic_quotes_gpc setting is `OFF`
PHP magic_quotes_gpc setting is `OFF`
The servers will now have PHP magic_quotes_gpc set to OFF by default.
This will show as a warning during a manual Joomla installation. While usually not a concern, older PHP scripts may break.

Using php.ini EZConfig in cPanel

Look for this icon in cPanel php.ini EZConfig icon in cPanel






enter on for magic_quotes_gpc

This will affect all directories unless they contain an overiding php.ini file



MANUAL METHOD

To overide this setting create a file named php.ini

Put this line in the php.ini file.

magic_quotes_gpc = 1

Put php.ini in any folder that has files that require the override.

The php.ini file will only affect the files in the same folder. (not recursive)

There are scripts available that will recursively copy the php.ini file to all directories.



PHP Magic Quotes (magic_quotes_gpc) General Information

Magic Quotes is a process that automatically escapes incoming data to the PHP script. It's preferred to code with magic quotes off and to instead escape the data at runtime, as needed.

This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.


php.ini General Information

http://ca.php.net/ini.core

 
 

News from Joomlasphere

Joomla Shop



proudly-canadian-flag.gif
  Best Canadian Web Host for Joomla
  View Selected Client Sites