Re: php4 and apache
| From: | Cal Evans | Date: | Tue, 20 May 2003 20:53:28 +0000 |
| Subject: | Re: php4 and apache | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148323@lists.php.net to get a copy of this message | ||
Patrick,
Do you mean that the page extensions are php4 and your apache installation
does not know how to handle this?
Make sure your apache.conf has something like:
AddType application/x-httpd-php .php .php4 .php3 .phtml
in it. My guess is that it has .php but none of the rest.
Also, as pointed out, this is not a PHP question. It IS an Apache question.
("You are looking for Abuse, this is Arguments. Abuse is down the hall.")
=C=
* Cal Evans
* http://www.christianperformer.com
* Stay plugged into your audience
* The measure of a programmer is not the number of lines of code he writes
but the number of lines he does not have to write.
*
----- Original Message -----
From: "Patrick Ahler" <patrick@vikus.com>
To: "Php-General" <php-general@lists.php.net>
Sent: Tuesday, May 20, 2003 9:08 AM
Subject: [PHP] php4 and apache
> Hi, I have php4.2.2/apache/linux. I can use regular php fine, I have
> multiple websites written in php that have no problem... but I downloaded
> squirrelmail and that was written entirely in php4 and it would not run. I
> checked httpd.conf and found nothing in there about php and then I checked
> php.ini and also found nothing. I am guessing apache is not configured to
> use php4... but I'm a bit lost.
>
> Help?
>
> Thanks,
> -Patrick
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>