Hosting magic quotes gpc off joomla

  • Go to MAMP application >> Preferences (button) >> PHP (tab) >> Choose 5.3.1 or greater >> choose OK.
  • Go to the MAMP folder >> bin >> php >> php5.3.26 >> conf >> edit php.ini >> add "magic_quotes_gpc = Off" a few lines above "magic_quotes_sybase = Off".
  • Restart MAMP's servers.

For most mainstream hosting companies running a CGI-Webinterface

  • Create a php.ini or php5.ini file with the following:
  • Put it in your Joomla 3 root. Then change the htaccess.txt in your Joomla 3 root to .htaccess. Add the following lines to the .htaccess file (at the top), don't forget to change php.ini to php5.ini when applicableĀ :
Hosting magic quotes gpc off joomla the file and save

Change "myusername" and "yourJ3folder" to your respective folders. The "/home/myusername/public_html/yourJ3folder" can be found via the Global Configuration:

In Joomla backend > System > System Information > [Directory Permissions], the folder is usually the same as the log directory (but without /logs at the end).

.htaccess for some hosts

For some hosts, add the following to the .htaccess file in the root of your site (for example /home/myusername/public_html/.htaccess )

Yet Another Solution For Shared Hosts

  • create a php.ini file at your Joomla! root.
  • Add this content to the file and save
  • Edit your .htaccess file and add this line at the top and save the file

SetEnv PHPRC /home/youruser/public_html/php.ini

  • Test if the error message goes away

Another solution (for the hosts where PHP is running as FCGI module)

Works for PHP 5.3 and higher

  • create a .user.ini file at your Joomla! root.
  • Add this content to the file and save
Watch this video!

Related articles

Magic quotes gpc off wordpress hostingAsked: 2013-05-04 11:24 am EST Hello, I started using Joomla 3 and now have problems and was told magic quotes need to be off for it to function correctly. Using live chat they said I could...
Hosting sites for joomlaWhat is Joomla Hosting? Free, easy-to-use, and customizable. Joomla provides you with a multitude of site-building options, and is available with most hosting plans. Think WordPress is the only...
Website hosting uk joomla extensionsJoomla hosting just got simpler With this widely used CMS (Content Management System), you can create your site and host it online while using your own web address. Our hosting packages that...
Position 7 joomla hostingThis tutorial is going to show you how to add module position in Joomla 3.x. template. You already know how to check available module positions of the template. In this tutorial we will show...
Permission 755 joomla hostingFile Permission Issues Multiple reasons could be the cause of this problem, all of which start with the type of web hosting environment you have. These file permissions include: Being unable to...