CENTOS7下编译安装PHP5.3时候遇到错误
阿神
阿神 2017-04-11 10:18:50
0
1
393

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!

我没有经验,搞不明白这是哪的问题,该怎么更正?多谢!

--更新--------------------

阿神
阿神

闭关修行中......

reply all(1)
小葫芦

安装unixODBC了吗?没有的话需要安装一下

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!