• Categories
    Categories Displays a list of categories from this blog.
  • Tags
    Tags Displays a list of tags that have been used in the blog.

Joomla 3 magic quotes on shared hosting

Posted by on in Joomla administration help
  • Font size: Larger Smaller
  • Hits: 17056
  • Subscribe to this entry
  • Print

In order to disable magic quotes the following solution worked for me on a shared hosting account.  If you are having an issue with Magic Quotes on your shared hosting account please try the following.

In your joomla folder create a file called php.ini

1A: If your site is example www.joomlage.com then the folder to place the file in would be public_html
1B: If your site is installed in a folder example www.joomlage.com/joomla-templates then the folder to place the file in would be public_html/joomla-templates

Add the following lines to the php.ini file
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off

Now in the same folder you should see a .htaccess file. Open it and add the following line to the top of the file. You will need to edit the user part to the correct path to your site. If you do not know what it is please contact your host and ask them.
SetEnv PHPRC /home/user/public_html/php.ini

If successful then Magic Quotes should now be turned off. If this solution did not work for you your host may have another one or you can check out some more here. How to turn off magic quotes on shared hosting?

Rate this blog entry:


  • No comments made yet. Be the first to submit a comment

Leave your comment

Guest Friday, 21 February 2020


We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.

Use code   FEB20 at checkout


10% off Everything!

Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.