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

How do I reset Zen Cart administrator password?

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

How to reset the admin password in Drupal

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

Strict Standards Error in Joomla

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

PHPList Email Throttling

As we are primarily a website hosting provider we limit email sending to 150 emails per hour. If...

Best WP Plugins

The best wp plugins we believe at this time are W3Total Cache, WordFence, Yoast SEO and iThemes...



Save 30% on web hosting - Use coupon code Hosting30