Knowledgebase

PHP magic quotes gpc problem installing joomla 3  Print this Article

While installing Joomla 3.x in our cPanel shared hosting accounts most probably, in the installation process, the installation script will alert you about the php configuration "Magic Quotes GPC" is enabled and joomla 3.x need this php variable disabled.

 

To resolve this problem and install joomla 3.x without problem you have to simply create or edit the file named .htaccess using a text editor in your computer (like notepad) and add the following line into it:

<IfModule lsapi_module>
php_flag magic_quotes_gpc = Off
</IfModule>

 

Then save the file and upload it in the directory where you are installing Joomla 3.x and also in the administrator directory.

 

This should resolve the problem and the installation scripts should let you install joomla 3.x without problem.

This will also correct an issue when quotes are escaped with slashes when you publish your articles.

 

Was this answer helpful?

Related Articles

How can i change the MySQL characters encoding to UTF8?
By default the encoding is latin1 but you could try to workaround your code.   To change the...
Oscommerce is showing a blank page in the categories pages
If you made no changes in your account or oscommerce script and this happened suddenly then there...
I have the register_globals disabled server wide, how can i enable it in my account?
This option is available in all our shared cPanel hosting accounts.Please note if your script is...
How could i change the PHP encoding in my scripts?
You could try changing it sending the headers in your php code, i.e.:   header('Vary:...
How do i parse .html files as .shtml (SSI)?
You can add the following line in your .htaccess file:   AddHandler server-parsed .html   or...