• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 835
  • Last Modified:

Error Installing PHP on IIS 6.0


I am installing PHP 4.3.9 on a Windows 2003 Standard Edition Server with IIS 6 using the ISAPI module. When the site tries to load the isapi filter, the load fails. Upon checking the Event Viewer, the following messages are present:

---------------------------
Event Source:      W3SVC-WP
Event ID:      2214
Description:
The HTTP Filter DLL C:\PHP\php4isapi.dll failed to load.  The data is the error.
---------------------------
Event Source:      W3SVC-WP
Event ID:      2268
Description:
Could not load all ISAPI filters for site/service.  Therefore startup aborted.
---------------------------

I am using manual installation of PHP performing the following actions:

- Extract PHP zip (downloaded from php.net) to a "PHP" folder and copy folder to C:\
- Rename php.ini-reccomended to "php.ini"
- Enter the extensions path in the php.ini file ("c:\PHP\extensions")
- Add C:\PHP to the PATH environment of Windows
- Add C:\PHP\sapi\php4isapi.dll to ISAPI filters in site of IIS
- Add .php ISAPI mapping to site in IIS
- Add index.php to default document list (although that should have no affect on any of the above)

Permissions on the C:\ PHP folder are as follows:

- Administrators: Full Control
- System: Full Control


I have used the above procedure on many servers without problems (2000 and 2003)... For some reason this one is giving me grief.

Any help would be greatly appreciated.
Thanks
- Ryan
0
guitar7man
Asked:
guitar7man
  • 2
  • 2
  • 2
  • +1
1 Solution
 
humeniukCommented:
You may want to post a pointer to this question in the PHP Installation area - www.experts-exchange.com/Web/Web_Languages/PHP/PHP_Installation/
0
 
humeniukCommented:
Or have a Mod move it there if you don't get much response.
0
 
Dave_DietzCommented:
Try adding IIS_WPG with at least read/execute permissions to the c:\php folder.

By default w3wp.exe runs as NETWORK_SERVICE and would not be included in either Administrators or SYSTEM.

Dave Dietz
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
guitar7manAuthor Commented:
Your the man Dave!

That worked... But what I don't understand, is that I have seven other W2k3 servers that I installed without including the IIS_WPG user in the permissions scheme and they work...

If you don't mind, could you elaborate a little more on the purpose of the IIS_WPG user?

Thanks again for your help.
0
 
Dave_DietzCommented:
The IIS_WPG group is simply the list of accounts that are allowed to start an Application Pool (w3wp.exe) process.  The group is also given permissions to the locations that the w3wp.exe needs to access since the w3wp.exe processes will run as one of the accounts in this group.

By default is should include LOCAL_SYSTEM, LOCAL_SERVICE, NETWORK_SERVICE and IWAM_machinename.

If you configure an Application Pool to run under a custom identity the custom identity it will need to be added to the IIS_WPG group..

Dave Dietz
0
 
mstefaniCommented:
Hi,

I have a similar error but am not using any php, just standard win2k3 sbs w/sp1.

The HTTP Filter DLL D:\Program Files\Exchsrvr\ExchWeb\bin\auth\OwaAuth.dll failed to load.  The data is the error.

I get this everytime I try to access any web page on this server.

Anyone have an idea what to do?

Thanks,

Mike

0
 
mstefaniCommented:
I figured it out.  It seems to be a permissions error as others on this site have stated.  I looked at one of my other win2k3sbs servers and saw that the permissions for the particular file in the error

"D:\Program Files\Exchsrvr\ExchWeb\bin\auth\OwaAuth.dll"

were different on that server.  So I matched them,(I think it was the missing anonymous access account that did it), I did an iisreset and it worked.

I hope this helps others....

Mike
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now