jhegw 发表于 2015-3-16 10:01:58

编译php 5.3 make时错误处理

编译php 5.3 make时出现错误一:make: *** Error 1解决办法:在./configure加上选项:--disable-fileinfo
Disable fileinfo support 禁用 fileinfo
./configure   --prefix=/usr/local/php   --with-apxs2=/usr/local/apache2/bin/apxs   --with-config-file-path=/usr/local/php/etc   --with-mysql=/usr/local/mysql   --with-libxml-dir   --with-gd   --with-jpeg-dir   --with-png-dir   --with-freetype-dir   --with-iconv-dir   --with-zlib-dir   --with-bz2   --with-openssl   --with-mcrypt   --enable-soap   --enable-gd-native-ttf   --enable-mbstring   --enable-sockets   --enable-exif   --disable-ipv6 --disable-fileinfo编译php 5.3 make时出现错误二:make: *** Error 1解决办法:yum install libtool-ltdl-devel

页: [1]
查看完整版本: 编译php 5.3 make时错误处理