We use a 3rd party hosting service to host our PHP-enabled websites. They have blocked access to php.ini, so I read up on php.net about using .htaccess files to set configuration directives.
In a directory I use for learning PHP, called _learning, i created a .htaccess file with the following contents, in order to override values in PHP.ini (see code window):
..but when I accessed a php script in this directory, I got a server error.
There was no entry in the error_log afterwards
If I comment out the last line in .htaccess, the script works as normal.
Is use of .htaccess disabled? I don't think so because I think a colleague used them before, but how can I tell?
Am i using correct format?
#php_value name value
#php_value pcre.backtrack_limit "100001"
php_flag session.auto_start on