If you need to change the way your PHP is working you can do that using .htaccess. Please, note that not all PHP options can be changed using .htaccess. A list of options that can be changed using .htaccess file can be found at: http://www.php.net/manual/en/ini.php#ini.list
The ones that can be changed with .htaccess are the ones marked with: PHP_INI_PERDIR or PHP_INI_ALL. The ones marked as PHP_INI_SYSTEM cannot be changed via .htaccess files.
The syntax is pretty simple:
php_flag [variable_name] [value]
For example if you need to turn off register_globals:
I am using you example to test the .htaccess configuration, but when I put the parameter (and it is the only one), the server response:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mtxsoftware.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
It is necesary start a PHP block or something in the file?