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?