Re: Problems with new PHP install

From: Date: Thu, 29 Sep 2005 14:28:50 +0000
Subject: Re: Problems with new PHP install
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-223409@lists.php.net to get a copy of this message
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

« previous php.general (#223409) next »