niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » PHP
PHP Installation issues on WinXP and IIS
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
~john
*nix forums beginner


Joined: 25 May 2006
Posts: 17

PostPosted: Thu Jul 20, 2006 4:14 pm    Post subject: PHP Installation issues on WinXP and IIS Reply with 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
ImOk
*nix forums beginner


Joined: 07 Jul 2006
Posts: 29

PostPosted: Thu Jul 20, 2006 4:28 pm    Post subject: Re: PHP Installation issues on WinXP and IIS Reply with quote

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

PostPosted: Thu Jul 20, 2006 4:38 pm    Post subject: Re: PHP Installation issues on WinXP and IIS Reply with quote

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

PostPosted: Thu Jul 20, 2006 9:09 pm    Post subject: Re: PHP Installation issues on WinXP and IIS Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
The time now is Mon Dec 01, 2008 6:36 pm | All times are GMT
navigation Forum index » Programming » PHP
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix SMTP client issues damber Postfix 1 Sat Apr 19, 2008 11:33 am
No new posts Dynamic IP Issues, when Sever is on Fixed. spode Postfix 2 Tue Aug 14, 2007 2:10 pm
No new posts postfix dovecot mysql issues gnetcon Postfix 0 Thu Aug 03, 2006 9:19 pm
No new posts new installation not finding large memory Miles Fidelman Debian 8 Thu Jul 20, 2006 9:00 pm
No new posts BB client installation in 5.9 Dolphin Solaris 2 Thu Jul 20, 2006 3:50 am

Advertising | Loans | Gas Suppliers | Mortgage insurance | Mobile Phones
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1322s ][ Queries: 16 (0.0448s) ][ GZIP on - Debug on ]