htaccess file and error 500 internal server error

I have a question for anyone that can answer it:

I create an .htaccess file in the root of a subdomain, but if I enter either of these two lines I get an erro 500 Internal Server Error:

php_flag magic_quotes_gpc off
php_flag register_globals off

Any suggestions anyone?

2 thoughts on “htaccess file and error 500 internal server error”

  1. I corrected the problem by deleting the .htaccess file and creating a php.ini file and populating it with the following data:

    magic_quotes_gpc = off
    register_globals = off

Leave a Reply

Your email address will not be published.