How to turn off magic quotes gpc for Joomla 3
Steps:
- Create a php.ini or php5.ini file with the following:
magic_quotes_gpc = Off
- 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 :
<IfModule mod_suphp.c>
suPHP_ConfigPath /home2/abqarie/public_html/ichuz2017
<Files php5.ini>
order allow,deny
deny from all
</Files>
</IfModule>