| Author |
Message |
~john *nix forums beginner
Joined: 25 May 2006
Posts: 17
|
Posted: Thu Jul 20, 2006 4:14 pm Post subject:
PHP Installation issues on WinXP and IIS
|
|
|
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?
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. |
|
| Back to top |
|
 |
ImOk *nix forums beginner
Joined: 07 Jul 2006
Posts: 29
|
Posted: Thu Jul 20, 2006 4:28 pm Post subject:
Re: PHP Installation issues on WinXP and IIS
|
|
|
Did you set the path to point to c:\php?
Did you define .php to point to c:\php\php-cgi.exe?
Did you make appropriate changes to your INI file? E.g.
cgi.force_redirect = 0
Id this fails, make a simple .ASP page and try it.
~john wrote:
| Quote: | 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?
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. |
|
|
| Back to top |
|
 |
~john *nix forums beginner
Joined: 25 May 2006
Posts: 17
|
Posted: Thu Jul 20, 2006 4:38 pm Post subject:
Re: PHP Installation issues on WinXP and IIS
|
|
|
ImOk wrote:
| Quote: | Did you set the path to point to c:\php?
|
Yes
| Quote: | Did you define .php to point to c:\php\php-cgi.exe?
|
No.... not sure why I would. I pointed IIS to php5isapi.dll for all
..php files
| Quote: | Did you make appropriate changes to your INI file? E.g.
cgi.force_redirect = 0
|
No, not sure what this does. I didn't see this in the install txt file?
| Quote: | Id this fails, make a simple .ASP page and try it.
|
Getting the same error for .asp pages. |
|
| Back to top |
|
 |
ImOk *nix forums beginner
Joined: 07 Jul 2006
Posts: 29
|
Posted: Thu Jul 20, 2006 9:09 pm Post subject:
Re: PHP Installation issues on WinXP and IIS
|
|
|
If ASP doesnt work then it's not PHP. My suggestion to go over to an
IIS forum and ask them or do a search.
| Quote: | No.... not sure why I would. I pointed IIS to php5isapi.dll for all
.php files
|
I have problems using the isapi with mysql. I dont know why.
| Quote: | Did you make appropriate changes to your INI file? E.g.
cgi.force_redirect = 0
|
If you dont have this it may be defaulted to 0 anyway. But it must be
set to 0 accoring to the INI file.
~john wrote:
| Quote: | ImOk wrote:
Did you set the path to point to c:\php?
Yes
Did you define .php to point to c:\php\php-cgi.exe?
No.... not sure why I would. I pointed IIS to php5isapi.dll for all
.php files
Did you make appropriate changes to your INI file? E.g.
cgi.force_redirect = 0
No, not sure what this does. I didn't see this in the install txt file?
Id this fails, make a simple .ASP page and try it.
Getting the same error for .asp pages. |
|
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|