re: php content not parsed
| From: | brian ally | Date: | Mon, 25 Mar 2002 07:55:19 +0000 |
| Subject: | re: php content not parsed | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6461@lists.php.net to get a copy of this message | ||
Wayne wrote:
OK, I installed as per INSTALL, everyhting ok, no errors. I created the test file test.php: <? phpinfo() ?>. When I call up this page from a browser I simply get the markup regurgated:
i.e.: <? phpinfo() ?>. This is the same for any php markup.You probably forgot to add support for the php extension in httpd.conf: AddType application/x-httpd-php .php otherwise, apache treats it as a text file and doesn't pass the request to the php binary. er... i'm assuming you're using apache. i can't remember offhand the exact name of the tab in the IIS manager thingy where you set this, though it's really easy. Look for something about document types. /b