Link to home
Start Free TrialLog in
Avatar of guitar7man
guitar7manFlag for United States of America

asked on

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
Avatar of humeniuk
humeniuk
Flag of Canada image

You may want to post a pointer to this question in the PHP Installation area - https://www.experts-exchange.com/Web/Web_Languages/PHP/PHP_Installation/
Or have a Mod move it there if you don't get much response.
ASKER CERTIFIED SOLUTION
Avatar of Dave_Dietz
Dave_Dietz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of guitar7man

ASKER

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

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