Answer the question
In order to leave comments, you need to log in
How to enable php_value?
I added an auto-include line to the .htacces file: php_value auto_prepend_file "check.php"
But for some reason the server gives me an error 500. It doesn't work. How can I enable this option in the .htaccess file itself without asking those. support? For I do not have access to httpd.conf
Answer the question
In order to leave comments, you need to log in
I think this will be the answer to your question!
www.htaccess.net.ru/doc/php
# Purpose of the file that will be added at the beginning of all php scripts:
php_value auto_prepend_file /home/www/user/htdocs/top.php
If you did this and you got a 500 error, then this directive is forbidden to be changed in the hosting settings.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question