tar -zxvf "php-fpm-0.6-$PHP_VER.tar.gz"
cd "php-fpm-0.6-$PHP_VER"
mkdir fpm-build && cd fpm-build ../configure --srcdir=../ \ --with-php-src="../../php-$PHP_VER" \ --with-php-build="../../php-$PHP_VER/php-build" \ --with-libevent="$LIBEVENT_SEARCH_PATH"&& make
## Configure flags
--with-libevent[=PATH] Path to the libevent,for fpm SAPI [/usr/local] --with-fpm-bin[=PATH]Set the path for the php-fpm binary [/usr/local/bin/php-fpm] --with-fpm-port[=PORT]Set the tcp port number to listenfor cgi requests [9000] --with[out]-fpm-conf[=PATH]Set the path for the php-fpm configuration file[/etc/php-fpm.conf] --with[out]-fpm-init[=PATH]Set the path for the php-fpm init file[/etc/init.d/php-fpm] --with-fpm-log[=PATH]Set the path for the php-fpm logfile[/var/log/php-fpm.log] --with-fpm-pid[=PATH]Set the path for the php-fpm pid file[/var/run/php-fpm.pid] --with-fpm-user[=USER]Set the user for the php-fpm to run as [nobody] --with-fpm-group[=GRP]Set the group for php-fpm to run as.For a system user, this should be set to match the fpm username [nobody]
root@slackware-32-p3:/yuan/soft/php-5.2.11# ./configure --help |grep fpm --enable-fpm FastCGI: If this is enabled, the fastcgi support --with-fpm-conf=PATH Set the path for php-fpm configuration file PREFIX/etc/php-fpm.conf --with-fpm-log=PATH Set the path for php-fpm log file PREFIX/logs/php-fpm.log --with-fpm-pid=PATH Set the path for php-fpm pid file PREFIX/logs/php-fpm.pid