Re: Unable to read PHP scripts
| From: | Geordon VanTassle | Date: | Thu, 01 Feb 2001 13:25:04 +0000 |
| Subject: | Re: Unable to read PHP scripts | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-1864@lists.php.net to get a copy of this message | ||
That sounds like you need to check for the existance of a line like the
following in your httpd.conf:
AddType application/x-httpd-php .php .phtml .php3 .html
That line tells Apache to recognise that there is PHP scripting in files
with the extensions .php .phtml .php3 and .html Your precise selections may
vary.
After you add that line to your httpd.conf, make sure that you STOP then
START apache. That makes sure that the config file is re-readm whereas just
"restarting" it might not.
HTH,
Geordon
----- Original Message -----
From: "Vanstaen Laurent" <lvanstae@enssat.fr>
To: <php-install@lists.php.net>
Sent: Thursday, February 01, 2001 3:48 AM
Subject: [PHP-INST] Unable to read PHP scripts
> Hi all,
> I've installed Apache and PHP successfully but my browser doesn't seem
to
> recognize php scripts. It ask to saves them, instead of parsing these
files.
> Anybody got the same problem and a soution ??
>
> Laurent Vanstaen
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
Attachment: [application/x-pkcs7-signature] smime.p7s
Attachment: [application/x-pkcs7-signature] smime.p7s