|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Intermittent 404 Problems With PHP Files
The version of PHP is 4.4.x, the IIS version is 5.0, the machine is a Windows 2000 machine. .php is mapped to the php.exe file via the registry and IIS is configured to treat .php files as CGI scripts.
The problem here is that whenever I try to access a .php file on the webserver it's about a 1 in 20 chance that I'll get the file, the rest of the time I'll get a 404 error. The files are not moving, not being renamed, and not being deleted. The problem affects only PHP files. I have verified that this happens even when a page is comprised of nothing but a phpinfo() call. All users appear to experience this problem regardless of their level of access rights to the server itself (or none if they're being logged on as anonymous users, which is also enabled). There was a PHP-enabled site running on this server previously and my understanding is that it functioned normally. I see nothing faulty in the php.ini file. At this point, I believe the problem to be IIS related, possibly Windows NT related, maybe PHP related. I want to get the impression of some people more familiar with IIS than I so I can either get this resolved or move it to a more appropriate forum. Thanks, as always. |
|
#2
|
||||
|
||||
|
After moving the entire site to a new server we are not seeing the problems repeat, despite the same IIS configuration being used. I now believe we're simply looking at a damaged PHP installation and won't be pursuing it any further.
Thanks anyway! |
|
#3
|
|||
|
|||
|
I suspect you had some incorrect permission settings on some files.
If it were me, I'd install php as an ISAPI rather than a CGI. You can find details in the php installation document.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Intermittent 404 Problems With PHP Files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|