Page 1 of 1

Server Application Error (ISS - install problem)

Posted: Thu Jul 20, 2006 10:41 am
by Son Volt
I just installed PHP 5.1.4 on Windows XP and I am getting an error trying to load a simple phpinfo() script.
Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.

I checked the Event Viewer and I'm getting an error and a warning.

error: Unable to start DCOM Server as /IWAM_MYNAME_LT1. The error "access denied"

warning: The server failed to load application /LM/W3SVC/1/ROOT. The error was "general access denied error"


I have given Full Controll privileges to c:\php, c:\Inetpub\wwwroot and the php.ini file to both the IUSR and IWAM accounts. I have set IIS to allow "Scripts and Executables". Application protection is "Medium (pooled). I'm not sure what to do at this point. I don't remember ever having this problem before. Any ideas what's going on?

Posted: Thu Jul 20, 2006 10:57 am
by RobertGonzalez
Have you tried running an ASP script to see if the server is processing server-side scripts? Not that this would be an issue, but it could rule out a few things.

Posted: Thu Jul 20, 2006 11:07 am
by Son Volt
Everah wrote:Have you tried running an ASP script to see if the server is processing server-side scripts? Not that this would be an issue, but it could rule out a few things.

One note... I changed "Application Protection" in IIS to "Low (IIS Process" and now the PHP script loads... but restarting IIS with "issreset /restart" causes IIS to crash.

The ASP page did not print anything between the <% %> tags.

Posted: Thu Jul 20, 2006 11:09 am
by RobertGonzalez
Sounds like there is a problem in you IIS. Does it parse any server-side code, or is it throwing the code out to the screen?

Posted: Thu Jul 20, 2006 11:12 am
by Son Volt
Everah wrote:Sounds like there is a problem in you IIS. Does it parse any server-side code, or is it throwing the code out to the screen?

It executed the PHP code when I changed the Application Protection to Low... but that seemed to cause problems with IIS crashing. I'm not sure what's going on. I've never had this much trouble installing PHP before this new version.

Posted: Thu Jul 20, 2006 11:13 am
by RobertGonzalez
I completely believe you. I have ever had any problems at all installing PHP in a windows system.

Posted: Thu Jul 20, 2006 11:39 am
by Son Volt
I'm getting the same error with ASP pages too...

Posted: Thu Jul 20, 2006 10:32 pm
by RobertGonzalez
Your server has problems dude. I am not sure what to do other than uninstall and then reinstall IIS. You are on XP Pro right?

Posted: Fri Jul 21, 2006 9:51 am
by Son Volt
Everah wrote:Your server has problems dude. I am not sure what to do other than uninstall and then reinstall IIS. You are on XP Pro right?

yeah... XP pro. reinstalled IIS to no avail.

Posted: Fri Jul 21, 2006 10:51 am
by RobertGonzalez
So even after a resintall your server is not processing server-side code? That is freaking weird. At this point, I got nothing. I have never been into a problem like this this far. Sorry.