Re: Problems with new PHP install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux