A PHP FastCGI Process manager can be a used to spawn php fastcgi server instances when you have configured your web server to pass php scripts to a FastCGI server .This can be used with web servers like Nginx and lighthttpd .
Download the patch file for your php version from http://php-fpm.anight.org/
Download your php version of choice from http://php.net
Heres what i did..remember that both these project are actively updated.So by the time you read this they have better versions available ![]()
cd /usr/local/src
wget http://php-fpm.anight.org/downloads/head/php-5.2.6-fpm-0.5.8.diff.gz
wget http://in.php.net/get/php-5.2.6.tar.bz2/from/us2.php.net/mirror
gzip -cd php-5.2.6-fpm-0.5.8.diff.gz | patch -d php-5.2.6 -p1
cd php-5.2.6
mkdir /usr/local/php
./configure –prefix=/usr/local/php –enable-fastcgi –enable-fpm –with-mcrypt –with-zlib –enable-mbstring –with-openssl –with-mysql –with-mysqli –with-gd –with-jpeg-dir –enable-gd-native-ttf –without-sqlite –disable-pdo –disable-reflection –with-curl –with-curlwrappers –enable-inline-optimization –disable-debug –disable-ipv6
make
make install
Please note that your ./configure script may produce error of missing libraries or header files.You must install these using your OS’s package manager. I use apt-cache search “the missing libs” to get this done easily
Tags: php








August 12th, 2008 at 11:39 am
test
November 9th, 2008 at 10:05 pm
[...] public links >> sysadmin Happy SysAdmin Day! Saved by JKS02 on Sun 09-11-2008 Howto install php-fpm: PHP FastCGI Process Manager Saved by saw17 on Sat 08-11-2008 This Week on MA.GNOLIA Saved by metzecki on Fri 07-11-2008 [...]
July 29th, 2010 at 9:47 am
Mbt zapatoscomo una tormenta se extendió por Europa y el mundo.Mbt zapatoscómo tener tanto poder? Según la investigación,Mbt zapatosno sólo su propio estilo de diseño único, sino también porque hay magia buena forma física, asíMbt zapatosno es coincidencia que es tan popular. Esta es una forma de cambio históricoMbt zapatosson.