473,394 Members | 1,703 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,394 software developers and data experts.

404 error when I run test.php

I installed php 5.2.3 using the .msi installer on a w2k3 server, when I try to run a test.php on a i.e. browser, I get "page not found" 404 error. I have verified that the php extension is allowed in IIS and that the IUSR_xxxxx has read permissions on the php dir. I have also checked some other sites for help, but still no go. HELP.

php 5.2.3 .msi
w2k3 w/IIS6
Jun 18 '07 #1
5 7551
pbmods
5,821 Expert 4TB
Heya, barnesb. Welcome to TSDN!

Is test.php in the correct location? Double-check to make sure that your webserver's document root is set to the same location as it's supposed to be.

A 404 error's on the webserver side; PHP doesn't ever see the request. So I'm going to go ahead and move this to the IIS forum where you will receive more relevant exposure.
Jun 18 '07 #2
kenobewan
4,871 Expert 4TB
Here is an article that may help:
Common reasons IIS Server returns "HTTP 404 - File not found" error
Jun 19 '07 #3
Ok, I moved the test.php into a directory that I know works (one of my other webpages) and I still got page not found? I've had php working before, but had to reload due server hack. Of course I didn't write any of the steps down that I did to make it work (over a year ago), so I'm basically starting from scratch. Any ideas?
Jun 19 '07 #4
kenobewan
4,871 Expert 4TB
Was your previous application php? Try adding the name of your file, index.php, to the list files - default.html etc.
Jun 20 '07 #5
pbmods
5,821 Expert 4TB
I read the article posted above, and this line piqued my interest:
IIS 6.0: The appropriate Web service extension or MIME type is not enabled.
Maybe IIS gives a 404 on .php files when PHP is not installed/enabled?
Jun 20 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Sean Abrahams | last post by:
The following is a reprint of a message I sent to the tutor list a long time ago, that I haven't gotten around to discussing with anyone else and failed to hear a reply on the tutor list. Hoping...
7
by: Paul | last post by:
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue. If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard...
8
by: Rene | last post by:
Hi, I'm spend many hour to fix this problem, read many articles about it but no article gave a solution. To isolate the problem I've created in IIS6 (WServer2003) a virtual directory test to...
3
by: Materialised | last post by:
I am having some issues with the following code, basically what I am trying to do, is familierise myself with compiler warnings, when I try to access a private or protected class function. Here is...
6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
4
by: yanyo | last post by:
hi, im trying to figure out whats the problem with this program i get a runtime error but i dont see where the problem is i tried changing declaration but nothing if somrbody can try this on their...
6
by: jasn | last post by:
Hello I am getting the following error message when I try and send an XML sting to a web service, I read somewhere that most web services prefer ascii and some throw errors when using unicode so...
25
by: Blasting Cap | last post by:
I keep getting errors that pop up when I am trying to convert an application from dotnet framework 1.1 to framework 2.0. The old project was saved in sourcesafe from Visual Studio 2003, and I have...
3
by: subramanian100in | last post by:
Consider the following program: #include <iostream> #include <string> using namespace std; class Test { public:
3
by: Leighya | last post by:
Im currently working on this xml file but when i load it to Mozilla, i got an error "Error Loading Stylesheet: Xpath parse failure: invalid variable name" It loads on IE properly. Only with the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.