PHP Magic Quotes breaking Joomla

Karl Walsh shared this question 6 years ago
Answered

It seems that Magic Quotes are on by default for shared hosting packages. This means that the Joomla installer will not go past the initial checks. None of the usual htaccess or php.ini hacks seem to get rid.

Also, if the Installertron package is used, Joomla appears to install without issue, but Magic Quotes are still on and any forward slashes are repeatedly escaped, completely breaking layouts.

Any suggestions for turning them off?

Best Answer
photo

This should be an easy one to fix..


Create, or add this to an already existing .htaccess file:


  1. php_flag magic_quotes_gpc off


It should then disable it allowing for normal use.

Comments (2)

photo
1

This should be an easy one to fix..


Create, or add this to an already existing .htaccess file:


  1. php_flag magic_quotes_gpc off


It should then disable it allowing for normal use.

photo
1

Thanks Matt. I'd tried all manner of htaccess parameters without success, but this worked like a charm.