#21270 [Com]: Download popup appears when trying to run a .php
| From: | kemalcelayir at hotmail dot com | Date: | Sun, 29 Dec 2002 17:58:57 +0000 |
| Subject: | #21270 [Com]: Download popup appears when trying to run a .php | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28683@lists.php.net to get a copy of this message | ||
ID: 21270
Comment by: kemalcelayir@hotmail.com
Reported By: allen.cummings@estructuredweb.com
Status: Open
Bug Type: Apache2 related
Operating System: Win 2000
PHP Version: 4.3.0
New Comment:
Your Apache configuration is wrong. There is a problem with PHP. If you
use Apache 2.0.x, download PHP from
http://snaps.php.net/win32/php4-win32-latest.zip
and configure all parameters then try again.
in Httpd.conf add this lines;
LoadModule php4_module c:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php .php3 .php4 .phtml
Previous Comments:
------------------------------------------------------------------------
[2002-12-29 11:41:14] allen.cummings@estructuredweb.com
When logging onto http://localhost, I get the default html page ok.
When I try to run the phpinfo() script on http://localhost/phpinfo.php,
I get a download popup window............ If I accept the download, I
get a popup window displaying <? phpinfo(); ?> [appears it is not
running the script]
Why would a download opertion start instead of processing the script
and displaying the results? Is this a bug or is it me?
I have doubled checked both the Apache and PHP setups. As far as I can
tell, they are installed per the instructions.
Thanks
G. Allen Cummings
allen.cummings@estructuredweb.com
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21270&edit=1