我试图在Cent OS 7上安装PHP 5.6.13,但是我收到了这个错误:
PHP 5.6 configure: WARNING: unrecognized options: --enable-spl, --with-ttf
有人可以告诉我如何解决它吗?
这是我的配置:
./configure --prefix=/usr/ --datadir=/usr/share/php5/
--mandir=/usr/share/man --bindir=/usr/bin --includedir=/usr/include
--sysconfdir=/etc/php5/apache2 --with-config-file-path=/etc/php5/apache2
--with-config-file-scan-dir=/etc/php5/conf.d --enable-libxml
--enable-session --with-mm --with-pcre-regex --enable-xml
--enable-simplexml --enable-spl --enable-filter --disable-debug
--enable-inline-optimization --disable-rpath --disable-static
--enable-shared --program-suffix=5 --with-pic --with-apxs2
--disable-all --enable-cli --enable-dom --enable-mbstring --with-zlib
--with-libdir=lib64 --with-gd --with-sybase-ct=/usr/local/freetds/
--enable-gd-native-ttf --with-ttf --with-freetype-dir=/usr --with-iconv
--enable-ctype --with-openssl --enable-zip --enable-xmlwriter
--with-ldap –with-openssl