RE: [PHP-WIN] Seriously newbie question
| From: | Darvin Andrioli | Date: | Tue, 27 Mar 2001 16:52:14 +0000 |
| Subject: | RE: [PHP-WIN] Seriously newbie question | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6332@lists.php.net to get a copy of this message | ||
It seems that Apache doesn't recognize your script as php file.
First have you rebooted Apache after you modified httpd.conf? If so,
check the following lines:
ScriptAlias /php4/ "f:/php/php4corrente/"
AddType application/x-httpd-php4 .php
Action application/x-httpd-php4 "/php4/php.exe"
This is my configuration. The first lines identifies where you have installed php, in the second
line you say which extension identifies the php script, and in the last one, you what Apache must
execute.
Regards
Darvin
-----Original Message-----
From: Mark W [SMTP:mwaugh@NOSPAMvisto.com]
Sent: Tuesday, March 27, 2001 6:36 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Seriously newbie question
Sorry if this is painfully obvious, but here goes...
I've installed Apache and PHP4 following the guide I've got about changes to
httpd.conf and moving the dlls etc.
However, when I try and run phpinfo.php as a test, it throws up the download
message box (i.e. you are trying to download... from...).
I've tried it with .php3 extension etc., everything I set it up to
recognise, but still no joy.
Any thoughts hugely appreciated.
Cheers
Mark
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net