sudo tar xzf ../src/php-5.2.13.tar.gz
sudo patch -d php-5.2.13 -p1 < ../src/php-5.2.13-fpm-0.5.13.diff
cd php-5.2.13/
sudo ./configure --prefix=/usr/local/php \
--with-config-file-path=/etc \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-pdo-mysql=/usr/local/mysql/bin/mysql_config \
--with-iconv-dir=/usr/local \
--with-freetype-dir --with-jpeg-dir \
--with-png-dir --with-ttf \
--enable-zip --with-gd \
--with-zlib --enable-sysvsem \
--enable-safe-mode --enable-bcmath \
--enable-shmop --enable-sysvsem \
--enable-fastcgi --enable-fpm \
--with-mcrypt --with-gd \
--disable-debug --disable-rpath --enable-discard-path \
--with-openssl --with-mhash --enable-sockets \
--enable-mbstring --enable-force-cgi-redirect
阅读(702) | 评论(0) | 转发(1) |