手记

php支持oracle oci编译参数


./configure --prefix=/usr/local/php  --with-oci8=shared,instantclient,/usr/lib/oracle/11.2/client64/lib   --with-php-config=/usr/local/php/bin/php-config  --enable-fpm --with-curl --with-curl

要首先安装一下几个oracle包

oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm

oracle-instantclient11.2-devel-11.2.0.4.0-1.x86_64.rpm

oracle-instantclient11.2-sqlplus-11.2.0.4.0-1.x86_64.rpm

0人推荐
随时随地看视频
慕课网APP