.php not processed

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
thasmin
Forum Newbie
Posts: 2
Joined: Fri Feb 08, 2008 10:02 pm

.php not processed

Post by thasmin »

I'm running into an issue where .html files are being processed by the PHP processor but PHP files are not. "prepend.php" is not being processed. Does anyone know why?

Here's my htaccess file:

Code: Select all

php_value auto_prepend_file "/absolute/path/to/prepend.php"
php_value auto_append_file "/absolute/path/to/append.php"
php_flag register_globals ON
AddType application/x-httpd-php .csv .html .php
ErrorDocument 404 /test/error.html
ErrorDocument 403 /test/error.html
DirectoryIndex index.html index.shtml index.php
Post Reply