Disable Magic Quotes GPC for Joomla

When installing Joomla on a shared package, the pre-installation checklist will often show an error next to the “Magic Quotes GPC Off” value:

——————————————————————————————————————————————
joomla_magic_quotes
——————————————————————————————————————————————

To resolve this issue, use the following steps (replace USER and JOOMLAINSTALL with the username of the cPanel account and joomla install directory in question):


1. Using either cPanel file manager or SSH, navigate to the install directory of Joomla (e.g. /home/USER/public_html/JOOMLAINSTALL)

2. Open the file named “php.ini”. If there is no “php.ini” file in the directory, create the file and add the following:


magic_quotes_gpc = Off

3. Open the file named”.htaccess”. If there is no “.htaccess” file in the directory, create the file and add the following:


<IfModule mod_suphp.c>
suPHP_ConfigPath /home/USER/public_html/JOOMLAINSTALL
<Files php.ini>
order allow,deny
deny from all
</Files>
</IfModule>

4. Refresh the Joomla installer and the error should be gone.

If there are any issues, please do not hesitate to contact us for assistance.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Drupal Thumbnails not Generating

This article covers Drupal Thumbnails not Generating and how to fix it. When you find that your...

Simple CMS Database Backup with phpMyAdmin

A tutorial for simple CMS Database Backup with phpMyAdmin. 1. Once you have entered into...

How to reset my OpenCart Admin Password

Log into your cPanel account and click on phpMyAdmin Open the database that your OpenCart...

How to Reset the Joomla Administrator Password

Log into your cPanel account and click on phpMyAdmin Open the database that your Joomla website...

How to reset admin panel password in osCommerce

Log into your cPanel account and click on phpMyAdmin Open the database that your osCommerce...