Created
December 2, 2009 14:15
-
-
Save otype/247219 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export LE_VER=1.4.12-stable | |
wget "http://www.monkey.org/~provos/libevent-$LE_VER.tar.gz" | |
tar -zxvf "libevent-$LE_VER.tar.gz" | |
cd "libevent-$LE_VER" | |
./configure --prefix=/opt/php-fpm && make | |
make install | |
export LIBEVENT_SEARCH_PATH="/opt/php-fpm" | |
export PHP_VER=5.3.1 | |
wget "http://launchpad.net/php-fpm/master/0.6/+download/php-fpm-0.6~$PHP_VER.tar.gz" | |
tar -zxvf "php-fpm-0.6~$PHP_VER.tar.gz" | |
"php-fpm-0.6-$PHP_VER/generate-fpm-patch" | |
wget "http://us.php.net/get/php-$PHP_VER.tar.gz/from/us.php.net/mirror" | |
tar xvfz "php-$PHP_VER.tar.gz" | |
cd "php-$PHP_VER" | |
patch -p1 < ../fpm.patch | |
./buildconf --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment