Question:
I’m having trouble changing PHP settings (e.g., setting magic_quotes_gpc to off) inside of .htaccess.
I put in command like:
php_flag magic_quotes_gpc 0ff
php_flag register_globals 0ff
php_flag html_errors 0ff
but they do not take effect.
Answer:
If you are running the php-cgi versions you’ll need to make the dir :
/home/your_username_here/etc/
and upload a default php.ini and modify that. php in your .htaccess won’t work. Instead the system will read your private php.ini in your etc directory.