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 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
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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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.
#...
|
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...
|
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....
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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...
|
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,...
|
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...
|
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...
|
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...
|
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,...
|
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...
| |