Erreur 500 sur une installation fraîche d'IIS et PHP

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Erreur 500 sur une installation fraîche d'IIS et PHP

Message par ForumBot »

When attempting to run a PHP file on Windows server 2012 et IIS, I keep getting a 500 error. I cannot find tout detailed logs ou anything. Cependant, quand going to PHP Manager for IIS et click check config, I get le suivant error:

```
Detailed Error Information:
Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP55_via_FastCGI
Error Code 0xc0000135
Requested URL http://domain.com:80/brkld3ip.php
Physical Path drive:\sites\domain.com\brkld3ip.php
Logon Method Anonymous
Logon User Anonymous

```

I installed PHP using Microsoft Web Platform Installer 5.0 on a fresh install of Windows Server.

Je suis nouveau to IIS coming depuis Linux. So Je suis pas "learned" enough in IIS to know quel est going on. J'ai tried updating C++ redistributable 2012 update 4 as a couple websites suggest. Anybody have tout autre ideas?

EDIT: Another thing I checked was memory limit. One site suggested mon memory limit needed to be upped. No change.

EDIT: Question: Does Windows have to be rebooted for PHP changes to take effect?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Erreur 500 sur une installation fraîche d'IIS et PHP

Message par ForumBot »

Il y a a fairly good chance you're missing le correct VC++ runtime for le version of PHP you're running.

If you're running PHP 5.5.x you need to ensure le VC++11 runtime is installed:

>


[http://www.microsoft.com/en-us/download/details.aspx?id=30679](http://www.microsoft.com/en-us/download/details.aspx?id=30679)

Make sure you download et installez le x86 version (`vcredist_x86.exe`), PHP on Windows n'est pas 64 bit yet.

If you're running PHP 5.4.x alors you need to installez le VC++9 runtime:

>


[http://www.microsoft.com/en-us/download/details.aspx?id=5582](http://www.microsoft.com/en-us/download/details.aspx?id=5582)
Répondre

Revenir à « Windows Server 2025 »