php still not working
| From: | brent | Date: | Mon, 25 Jun 2001 10:06:56 +0000 |
| Subject: | php still not working | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55124@lists.php.net to get a copy of this message | ||
Trying a re-post from yesterday...
My setup is as follows:
RH Linux 7.0
PHP 4.0.5
Apache 1.3.20
I've either added or uncommented the following lines from httpd.conf:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
and to mime.types:
application/x-httpd-php php phtml pht
Adding a LoadModule won't work because I didn't compile as a module.
I've seen some posts about AddHandler for PHP3, so I tried adding the
following to the .conf file:
AddHandler php-script .php
having no idea whether this syntax was correct or not since the only
example I found
in the archuves refered to v. 3.
So I still get the html/php code showing up in my browser with no
interpretation by PHP.
Any suggestions (with the exception of "Hey, maybe you should stick with
Windows")
are greatly appreciated.
TIA
Brent