How To Fix “The FastCGI process exited unexpectedly” IIS 8

I was recently setting up PHP 5.6 on IIS 8.5 and hit an error.

C:Program Files (x86)\PHP\v5.6\php-cgi.exe - The FastCGI process exited unexpectedly

I had been following a guide and this one didn’t make much sense. After trying to endlessly debug this I found out that it wasn’t actually anything to do with PHP or IIS, it was a dependency issue. Thankfully, the fix for this is very simple.

In order for PHP to function under IIS 8, it needs the Visual C++ Redistributable for Visual Studio 2012 Update 4. In particular, it needs the 32-bit version. I was running under a 64 bit OS, but it seems that PHP was running as a 32-bit application and required the 32-bit redistributable. So even if you have 64 bit, download the 32-bit version of the installer.

To fix this, you can download the correct version of the installer based on the operating system that you are using from the Microsoft website here.

the fastcgi process exited unexpectedly
If you have experienced this issue with IIS, this is likely what you will see for the fastcgi process exited unexpectedly error

Related Articles

Related Questions

Why is my Docker image acting differently in various Kubernetes clusters?

I have a Docker container that's part of a Kubernetes cluster running a Java app for video processing using ffmpeg and ffprobe. It was...

Is the 9060XT 16GB Enough for Gaming and Streaming?

I'm looking to upgrade my almost 8-year-old PC, which currently has a Ryzen 5 1600X and a GTX 1060 6GB OC. I mainly play...

Best AM5 CPU for Battlefield 6: Which One to Pick?

I'm really excited about Battlefield 6 and ready for an upgrade from AM4 to AM5! I'll be keeping my RX 7800 XT for a...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Tools

Scavenger Hunt Team Randomizer

Planning a scavenger hunt and need to split participants into random teams? Whether you're organizing a school activity, a corporate team-building event, or a...

File Hash Generator Online – Get Instant MD5 and SHA-256 Hashes

Whether you are validating downloads, checking for corruption, or comparing files for duplicates, having a fast and secure way to generate file hashes is...

Visual CSS Editor for Modern Glass UI Effects

Modern UI design is all about clean, layered aesthetics, and few styles deliver this better than glassmorphism. If you're designing sleek user interfaces and...

Fast and Accurate Tap BPM Counter – Free Web Tool

Whether you're producing music, DJing live, or just figuring out the tempo of a song, knowing the BPM (beats per minute) can be critical....

Glassmorphism CSS Generator with Live Preview

Glassmorphism is one of the most visually striking design trends in modern UI. Its soft, frosted-glass effect adds depth and elegance to web interfaces,...

Add Custom Speech and Caption Boxes to Any Image Online

Creating comic-style images used to require complex design tools or specialist software. Whether you're making memes, teaching graphics, social media posts or lighthearted content,...

Latest Posts

Latest Questions