CENTOS7.2 编译安装 PHP 5.3.28
配置命令如下:
./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5/etc --with-config-file-scan-dir=/usr/local/php5/etc/php.d --with-bz2 --with-openssl --with-zlib --with-mhash --with-pcre --enable-exif --enable-sockets --enable-mbstring --enable-xml --enable-fpm --enable-soap --with-gd --with-curl --with-mcrypt --with-unixODBC --with-imap --with-imap-ssl --with-jpeg-dir --with-png-dir --with-zlib-dir --with-freetype-dir --enable-gd-native-ttf --enable-gd-jis-conv --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --enable-dom --with-kerberos --disable-debug
运行后显示错误:
checking whether to enable embedded MySQLi support... no
checking for Oracle Database OCI8 support... no
checking for unixODBC support... configure: error: ODBC header file '/usr/local/include/sqlext.h' not found!
我没有经验,搞不明白这是哪的问题,该怎么更正?多谢!
--更新--------------------