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 :
suPHP_ConfigPath /home/myusername/public_html/yourJ3folder
order allow,deny
deny from all
note: dont forget to change suPHP_ConfigPath with your path
reference from https://docs.joomla.org/How_to_turn_off_magic_quotes_gpc_for_Joomla_3
No comments:
Post a Comment