Comments on Using PHP5-FPM With Apache2 On CentOS 6.2

Using PHP5-FPM With Apache2 On CentOS 6.2 This tutorial shows how you can install an Apache2 webserver on a CentOS 6.2 server with PHP5 (through PHP-FPM) and MySQL support. PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Adam Walter

This is an old post, but I'm hoping you'll help with the issue I'm having!

I followed this tutorial to the letter (twice!), but my end result is the same. After Step 6 when I go to view my phpinfo(), I get the error:

The requested URL /php5-fcgi/info.php was not found on this server

Any ideas? I'm on CentOS 6.6.

By: Steven

I have this same problem! Hoping I can find an easy fix, stumped atm. 

By: Someguy

Yeah ok so I've see loads of variations of this HOWTO all over the net, and I'm always stuck here:

Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization

 

Where does this file, /usr/lib/cgi-bin/php5-fcgi come from exactly? It is not part of any of the packages installed, and its contents are not revealed by any of the howtos. I'm really confused.