Server Application Error (ISS - install problem)

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Son Volt
Forum Newbie
Posts: 19
Joined: Tue Jul 11, 2006 1:36 pm

Server Application Error (ISS - install problem)

Post 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?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
Son Volt
Forum Newbie
Posts: 19
Joined: Tue Jul 11, 2006 1:36 pm

Post 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.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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?
Son Volt
Forum Newbie
Posts: 19
Joined: Tue Jul 11, 2006 1:36 pm

Post 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.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I completely believe you. I have ever had any problems at all installing PHP in a windows system.
Son Volt
Forum Newbie
Posts: 19
Joined: Tue Jul 11, 2006 1:36 pm

Post by Son Volt »

I'm getting the same error with ASP pages too...
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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?
Son Volt
Forum Newbie
Posts: 19
Joined: Tue Jul 11, 2006 1:36 pm

Post 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.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
Post Reply