473,231 Members | 1,986 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,231 software developers and data experts.

PHP 5 install problem on IIS

I have an install problem on IIS that has me stumped.

PHP appears to be installed properly, and is listed as a
filetype in IIS, pointing to the PHP script processor.
However, when I try to load a page called "test.php",
I get a "page not found" response.

The file contains only HTML, no PHP. I duplicated the file
as "test.junk", and IIS reads and processes the file, as
HTML, with no problem. IIS can also open .html and .aspx
files in the same directory.

All of this is on my local machine; there's no network
connection involved. All of this is on WinXP Pro SP2
with all updates.

Any idea why I get a "page not found" on .php files?

Thanks,
Diane
Jul 17 '05 #1
4 1711
Diane,
I have an install problem on IIS that has me stumped.

PHP appears to be installed properly, and is listed as a
filetype in IIS, pointing to the PHP script processor.
However, when I try to load a page called "test.php",
I get a "page not found" response.

The file contains only HTML, no PHP. I duplicated the file
as "test.junk", and IIS reads and processes the file, as
HTML, with no problem. IIS can also open .html and .aspx
files in the same directory. Any idea why I get a "page not found" on .php files?


The problem may be that PHP does not have permission from IIS and/or
that IIS does not have the application/php mimetype listed.

Those are the two most common problems with IIS. Also are you using the
CGI or are you using the ISAPI.

Mike
Jul 17 '05 #2
Diane,
I have an install problem on IIS that has me stumped.

PHP appears to be installed properly, and is listed as a
filetype in IIS, pointing to the PHP script processor.
However, when I try to load a page called "test.php",
I get a "page not found" response.

The file contains only HTML, no PHP. I duplicated the file
as "test.junk", and IIS reads and processes the file, as
HTML, with no problem. IIS can also open .html and .aspx
files in the same directory. Any idea why I get a "page not found" on .php files?


The problem may be that PHP does not have permission from IIS and/or
that IIS does not have the application/php mimetype listed.

Those are the two most common problems with IIS. Also are you using the
CGI or are you using the ISAPI.

Mike
Jul 17 '05 #3
In article <j%*****************@fe07.lga>, pe****@gmail.com says...
Diane,
I have an install problem on IIS that has me stumped.

PHP appears to be installed properly, and is listed as a
filetype in IIS, pointing to the PHP script processor.
However, when I try to load a page called "test.php",
I get a "page not found" response.

The file contains only HTML, no PHP. I duplicated the file
as "test.junk", and IIS reads and processes the file, as
HTML, with no problem. IIS can also open .html and .aspx
files in the same directory.

Any idea why I get a "page not found" on .php files?


The problem may be that PHP does not have permission from IIS and/or
that IIS does not have the application/php mimetype listed.

Those are the two most common problems with IIS. Also are you using the
CGI or are you using the ISAPI.


Thanks for the response.

Looking at IIS properties, specifically for the directory where
the files are located, execute permissions is set to "scripts
and executables".

The mapping for .php was set up for C:\PHP\php-cgi.exe .
This is the setting that gave "page not found". Setting it
to php-win.exe (and also to php.exe) caused a "CGI timeout"
message.

I don't see any specific settings in php.ini that seem to be
related.

What else should I check?

Diane
Jul 17 '05 #4
In article <j%*****************@fe07.lga>, pe****@gmail.com says...
Diane,
I have an install problem on IIS that has me stumped.

PHP appears to be installed properly, and is listed as a
filetype in IIS, pointing to the PHP script processor.
However, when I try to load a page called "test.php",
I get a "page not found" response.

The file contains only HTML, no PHP. I duplicated the file
as "test.junk", and IIS reads and processes the file, as
HTML, with no problem. IIS can also open .html and .aspx
files in the same directory.

Any idea why I get a "page not found" on .php files?


The problem may be that PHP does not have permission from IIS and/or
that IIS does not have the application/php mimetype listed.

Those are the two most common problems with IIS. Also are you using the
CGI or are you using the ISAPI.


Thanks for the response.

Looking at IIS properties, specifically for the directory where
the files are located, execute permissions is set to "scripts
and executables".

The mapping for .php was set up for C:\PHP\php-cgi.exe .
This is the setting that gave "page not found". Setting it
to php-win.exe (and also to php.exe) caused a "CGI timeout"
message.

I don't see any specific settings in php.ini that seem to be
related.

What else should I check?

Diane
Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Yun Guan | last post by:
Hello mysql gurus, I am trying to run perl on mysql database on Red Hat box. I want to install DBI and DBD:mysql using CPAN: perl -MCPAN -e shell cpan>install DBI The above succeeded, but...
1
by: Peter Hartmann | last post by:
How do I influence the platform type during install? Could you look at this and tell me what I'm doing wrong? It's still using information from get_platform instead of using my preference. #...
3
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
12
by: Matt Fielder | last post by:
I tried to install SP1, and it appears to have just stopped somewhere part way through. It was "collecting information" (for a long time, slow progress bar) --- then suddenly it stopped.... no...
5
by: Ajith Menon | last post by:
I have to install .NET framework 3.0. I already have .NET Framework 1.1 installed on my machine. I don't want to remove framework 1.1 since some of the critical applications are using it. While...
3
by: Jason Madison | last post by:
My SP1 install seemed to want to keep repeating the install. I spent 4 hours running the install, then it ran again (I got the message up saying it had finished, then it started again). I didn't...
1
by: Sorin Schwimmer | last post by:
Hi All, After a disaster in which I lost my whole harddrive, I decided to install the newest everything that I use. I put the latest Gentoo Linux, with gcc 4.1.1, installed tcl/tk 8.4.14 and...
1
by: =?Utf-8?B?Qi5BaGxzdGVkdA==?= | last post by:
Hi all, This is something that I have been toying with for about a week now. What I want to achieve is Install a Service with Customised parameters (using InstallUtil.exe) for User Name. Example...
3
by: Jean-Marc Blaise | last post by:
Hi, I've been trying for 2 hours to install in silent mode a DB2 9 runtime client. Why didn't you make this process as simple as for the CLIENT install ? It is not the same setup command, you...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.