|
Posted by "Chris Boget" on 09/29/05 17:28
>> And that is exactly what is getting output by the browser. The <br>
>> isn't even getting interpreted as a break...?
> Is there a line like this in your httpd.conf...?
> AddType application/x-httpd-php .php
[snip]
> Yeah, looks like you need the AddType entry. Apache doesn't know what
> *.php is, so it's just serving it up as plain text.
Step 15 of the php installation (as listed in the link in my OP) has you add
the
following to the httpd.conf:
AddType application/x-httpd-php .php .phtml
I also went ahead and added the following as well
AddType application/x-httpd-php-source .phps
The filename of my test script, though, is php_test.php and not
php_test.phps
so php should be parsing it..
thnx,
Chris
Navigation:
[Reply to this message]
|