Forum Moderators: coopster
php_value auto_prepend_file "/var/www/html/test"
The "test" file has a simple echo in it:
<?php
echo "<h1>HELLO</h1>";
?>
My understanding of the auto_prepend_file is that it will run the file it calls everytime a PHP file is requested by the webserver. So in this case, I'm calling a phpinfo.php file. I should see HELLO at the top of the page - yes?!
I'm not and I don't know why. The PHP install is mod_php. And yes, according to the host, Apache will allow PHP setting changes within the htaccess file.
So what am I missing (I have this horrible feeling this is going to be one of those DOH moments).