473,398 Members | 2,368 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,398 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 1718
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.