How to turn off magic quotes gpc for Joomla 3

Disabling magic_quotes_gpc for Joomla 3

 

The magic_quotes_gpc PHP directive was removed entirely in PHP 5.4 and later. If you are seeing a Joomla error about magic quotes, you are likely running PHP 5.3 or earlier, which is extremely outdated and no longer supported.

 

The Fix: Update Your PHP Version

  1. Log into cPanel
  2. Go to MultiPHP Manager
  3. Select your domain and change the PHP version to 8.1 or newer
  4. Click Apply

 

Joomla 3.x supports PHP 7.x and PHP 8.x (with some compatibility patches). Joomla 4+ requires PHP 7.2.5 or later. Updating PHP will resolve the magic_quotes error and also give your site significant performance and security improvements.

 

If you are still on an older Joomla version that requires PHP 5.x, it is strongly recommended to update Joomla to the latest version. Older Joomla installations have known security vulnerabilities that are actively exploited.

  • 148 Users Found This Useful

Was this answer helpful?

Related Articles

Strict Standards Error in Joomla

You are running an out-dated install of Joomla and we highly recommend updating it to avoid your...

How do I reset Zen Cart administrator password?

First login to your control panel with us, then click on the "phpMyAdmin" icon. Click the...

Turn off PHP error messages via htaccess

From time to time you may encounter a script which has error messages you do not wish to see....

Joomla Strict Standards: Declaration of JParameter::loadSetupFile() should be compatible with that of JRegistry::loadSetupFile()

Joomla: Strict Standards Declaration of JParameter Error   The error "Strict Standards:...

Tiki Wiki: Notice: Only variable references should be returned by reference

You can find the latest version of ADODB here. To modify the function to not return a...



Save 30% on web hosting - Use coupon code Hosting30