Following unknown configure options were used:--enable-fpm

时间:2021-07-27 10:29:20

跑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夹

版权声明:本文博主原创文章,博客,未经同意不得转载。