|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21270 Download popup appears when trying to run a .php
Submitted: 2002-12-29 11:41 UTC Modified: 2002-12-29 12:07 UTC
From: allen dot cummings at estructuredweb dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.0 OS: Win 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: allen dot cummings at estructuredweb dot com
New email:
PHP Version: OS:


 [2002-12-29 11:41 UTC] allen dot cummings at estructuredweb dot 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.

G. Allen Cummings


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-29 11:58 UTC] kemalcelayir at hotmail dot com
Your Apache configuration is wrong. There is a problem with PHP. If you use Apache 2.0.x, download PHP from
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
 [2002-12-29 12:07 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 06:01:30 2024 UTC