Report this

What is the reason for this report?

How to setup PHP to run as FastCGI with Apache?

Posted on December 11, 2013

I have a Ubuntu 12.04 LTS droplet running a LAMP stack right now which is nearly a clean install with the exception of a few virtual hosts.

I want to setup PHP to run as FastCGI, but I cannot for the life of me find some easy to follow instructions to do so.

As I understand it, this requires some configuration in the Apache .conf, and/or virtual hosts blocks, as well as probably installing some additional modules.

On another VPS using Plesk control panel, this can be changed for each domain with a single option.

Now that I’m flying solo, I’m stuck here.

Any help is MUCH appreciated!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.