logo-responsive

  • 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: 15697
  • 0 Comments
  • 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

NOTE:
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
extension=pdo.so
extension=pdo_mysql.so

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

Comments

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

Leave your comment

Guest
Guest Wednesday, 12 December 2018

Use code   DEC18 at checkout

     December    

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