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

IIS could not find .php file, however it finds html files in the same dir

IIS could not find .php file, however it finds html files in the same
dir.....

http://localhost/test => the default.htm will be hit, no error

http://localhost/test/test.php => 404 error not found( it exists in the
dir)

The security is set ok, something wrong with the php runtime??
Strange because my application on localhost/prog works smooth.........

Can anybody help me?

May 19 '06 #1
4 1545
geronimi wrote:
IIS could not find .php file, however it finds html files in the same
dir.....

http://localhost/test => the default.htm will be hit, no error

http://localhost/test/test.php => 404 error not found( it exists in the
dir)

The security is set ok, something wrong with the php runtime??
Strange because my application on localhost/prog works smooth.........

Can anybody help me?

Hi,

Your question boils down to "PHP isn't installed right".
Many things could be causing this.

Did you read and follow the online installationmanuals?

You can find them here:
http://nl3.php.net/manual/en/install.php

Warning: Do not use the windowsinstaller, it will be difficult later on to
add extensions.
Do it by hand, it is maybe not easy for starters, but you'll have a better
understanding of how PHP is integrated into IIS.

By the way: In my experience the ISAPI version is stable for PHP5. (In PHP4
it had some issues)

Regards,
Erwin Moller
May 19 '06 #2
Mmm, but it is strange that the rest of the prog on that iis is working
fine...........

I think there is somewhere some setting that is not correct, but I
checked almost everything.....

greetz

May 19 '06 #3
geronimi wrote:
Mmm, but it is strange that the rest of the prog on that iis is working
fine...........
which prog?

If you succesfully installed Perl or something, that has little to do with
PHP, does it?

I think there is somewhere some setting that is not correct, but I
checked almost everything.....
You must have missed something. ;-)

greetz


Good luck.

Regards,
Erwin Moller
May 19 '06 #4

"geronimi" <we******@hotmail.com> wrote in message
news:11*********************@i40g2000cwc.googlegro ups.com...
IIS could not find .php file, however it finds html files in the same
dir.....

http://localhost/test => the default.htm will be hit, no error

http://localhost/test/test.php => 404 error not found( it exists in the
dir)

The security is set ok, something wrong with the php runtime??
Strange because my application on localhost/prog works smooth.........

Can anybody help me?


Are you using Server 2003 [Web Edition] ? If so, check if your "Web Service
Extensions" are configured correctly.
Here is a link to get you started:
http://www.iis-resources.com/modules...php?storyid=96

--Ridge
May 19 '06 #5

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

Similar topics

1
by: Xah Lee | last post by:
suppose you want to do find & replace of string of all files in a directory. here's the code: ©# -*- coding: utf-8 -*- ©# Python © ©import os,sys © ©mydir= '/Users/t/web'
0
by: Dean H. Saxe | last post by:
I'm currently developing a tool in perl to search out potential XSS (Cross Site Scripting) vulnerabilities and correct them in a ColdFusion based web app. I've been having great success so far,...
1
by: Dan Jones | last post by:
I'm writing a script to process a directory tree of images.  In each directory, I need to process each image and generate an HTML file listing all of the images and links to the subdirectories....
8
by: b83503104 | last post by:
Hi, I want to append one (huge) file to another (huge) file. The current way I'm doing it is to do something like: infile = open (infilename, 'r') filestr = infile.read() outfile =...
9
by: Kelly Vernon | last post by:
I have a standard ASP page that appends to an xml page. Currently if there is more than one person attempting to append to the same XML file at a time. One user will have the ability to append,...
2
by: Daniel | last post by:
I use an Access database to basically take data exports, import them, manipulate the data, and then turn them into exportable reports. I do this using numerous macros, and queries to get the data...
14
by: Michael R. Copeland | last post by:
I'm writing an application that requires an "intelligent merge" of 2 files. That is, equal data has a "preferred source" that I want to write out. What I have works, I believe, but it seems...
5
by: Nick Gilbert | last post by:
Hi, I'm not sure if I've broken my VS.NET installation or if there has always been a bug of some sort, but basically Find in Entire Solution (ctrl-shift-F) isn't finding strings in my solution's...
0
by: Xah Lee | last post by:
Interactive Find and Replace String Patterns on Multiple Files Xah Lee, 2006-06 Suppose you need to do find and replace of a string pattern, for all files in a directory. However, you do not...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.