php.net |  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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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.

Thanks
G. Allen Cummings

allen.cummings@estructuredweb.com

Patches

Pull Requests

History

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 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
 [2002-12-29 12:07 UTC] derick@php.net
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 http://www.php.net/support.php 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: Sat Dec 21 15:01:29 2024 UTC