I am appending two files in my .htaccess file and write these lines:
php_value auto_append_file begin_caching.php
php_value auto_append_file end_caching.php
But it giving me internal server error.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A lot of web hosts prohibit you using
auto_prepend_filein .htaccess as a security measure, so this is probably why you’re running into the 500 server error.Why don’t you just use this in your PHP file(s):