Search code examples
iisfastcgi

How to fix "Calling GetProcAddress on ISAPI filter "C\..\php5.dll" failed" error in iis?


The error follows

HTTP Error 500.0 - Internal Server Error Calling GetProcAddress on ISAPI filter "C:..\php5.dll" failed

in iis when try to run a php website

How to fix this?


Solution

  • Just do the following in commmand prompt

    C:\Windows\System32\inetsrv>appcmd.exe set config -section:isapiCgiRestriction /
    +[path='C:\php\php5.dll',allowed='true']