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

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....

Coppermine Gallery cannot create thumbnails

Coppermine Gallery Thumbnail Issues   If Coppermine Gallery cannot create thumbnails, the...

How do I reset Joomla administrator password?

How to reset Joomla administrative password Start by logging into your control panel. Once...

How to reset the admin password in Drupal

Resetting the Admin Password in Drupal   If you have been locked out of your Drupal admin...

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:...



Save 30% on web hosting - Use coupon code Hosting30