We help IT Professionals succeed at work.

error HTTP Error 500.0 - Internal Server Error with PHP 5 and IIS7

Last Modified: 2013-12-13
I am trying to install a knowledge base that is created in PHP.  I have installed PHP 5.2.5 and I am running it on a vista machine and using IIS7.  I have a test PHP created however when I try to access the page the following error is displayed:

Server Error in Application "Default Web Site"


HTTP Error 500.0 - Internal Server Error
Description: Calling GetProcAddress on ISAPI filter "C:\Program Files\PHP\php5ts.dll" failed

Error Code: 0x8007007f

Notification: Unknown

Module: IIS Web Core

Requested URL: 

Physical Path: C:\inetpub\wwwroot\test.php

Logon User: Not yet determined

Logon Method: Not yet determined

Handler: PHP

Most likely causes:

The ISAPI Filter has dependencies that are not available on the Web server.
IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
IIS was not able to process configuration for the Web site or application.
The authenticated user does not have permission to use this DLL.
What you can try:

Try running Reskit tool "depends" on the ISAPI DLL.
Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
Check the event logs to see if any additional information was logged.
Verify the permissions for the DLL.
Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.
More Information... This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.

Microsoft Knowledge Base Articles:


Server Version Information: Internet Information Services 7.0.

Any help will be greatly appericated.  I am not familar with PHP at all so I am lost.
Watch Question

Try to change permissions for the folder "C:\Program Files\PHP\" to be write-read enabled for EVERYONE
This one is on us!
(Get your first solution completely free - no credit card required)
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.