Re: problem with apache+php4
| From: | Matt McClanahan | Date: | Tue, 30 May 2000 00:03:31 +0000 |
| Subject: | Re: problem with apache+php4 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-576@lists.php.net to get a copy of this message | ||
On Mon, 29 May 2000, Ramon Alvarez Rayo wrote:
> heelo,
>
> i have php4 with apache-1.3.12 but i have problems when i try to access a
> php3 file, how can i setup apache web server to get run *.php3 and *.php ?
Assuming you want to parse .php3 files with PHP4, have an AddType line in
your httpd.conf to the effect of
AddType application/x-httpd-php .php3 .php
I'd also recommend adding .phtml to that list, since a lot of PHP apps out
there will use this extension.
Matt