Internal error 500 on Webmatrix & PHP - first run

Hello.
I wanted to set-up a php server for first time.
So I downloaded the Microsoft WebMatrix service.
Installed php 5.6 and IIS Express.
Then, after running it for first time (the default project) i got this:

Could you help me solve my problem?

That happens a lot…

The 500 can be caused by a lot of different reasons.

But the main one is because the App Pool Identity doesn’t have access to your php-cgi.exe file, which is normally located here.

C:\Program Files (x86)\PHP\php-cgi.exe

Sponsor our Newsletter | Privacy Policy | Terms of Service