首页 > 代码库 > Following unknown configure options were used:--enable-fpm
Following unknown configure options were used:--enable-fpm
执行cd php-5.2.13安装时候
./configure --prefix=/usr/local/php/ --with-config-file-path=/usr/local/php/etc/ --with-mysql=/usr/local/mysql/ --with-libxml-dir=/usr/local/libxml2/ --with-jpeg-dir=/usr/local/jpeg6/ --with-freetype-dir=/usr/local/freetype/ --with-gd=/usr/local/gd2/ --with-mcrypt=/usr/local/libmcrypt/ --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-soap --enable-mbstring=all --enable-sockets --enable-fastcgi --enable-fpm
错误:Following unknown configure options were used:--enable-fpm
这是因为没有打补丁
tar -zxvf php-5.2.13.tar.gz
gzip -cd php-5.2.13-fpm-0.5.13.diff.gz | patch -d php-5.2.13 -p1 ##fpm补丁安装到php源码
cd php-5.2.13
如果没有打补丁的话,那么安装目录下少sbin目录
Following unknown configure options were used:--enable-fpm