For the first time ever I installed FreeBSD 4.9, I then installed Apache 1.3 and PHP 4.3.3-CGI from /usr/ports on the machine. It seems that everything is ok, but when I try to use a .php file it does not run it through the parser. So when I hit test.php in my browser it outputs:
<? print "Test 123"; ?>
or
<?php print "Test 123"; ?>
I'm sure I'm missing a line or two in my httpd.conf, but I really don't know what they would be. Anyone with experience with FreeBSD/Apache/PHP give me a hand?
TIA
Tom
Chances are, you need to add this to your httpd.conf and restart Apache...
AddType application/x-httpd-php .php
-- By-Tor.com It's all about the Rush http://www.by-tor.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php