本文主要向大家介绍了Oracle数据库之php支持oracle oci编译参数,通过具体的内容向大家展现,希望对大家学习Oracle数据库有所帮助。
/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
本文由职坐标整理并发布,希望对同学们学习Oracle有所帮助,更多内容请关注职坐标数据库Oracle数据库频道!