php安装安装OCI8方法

2026-02-14 22:44:18

1、php-fpm能正常运行

php安装安装OCI8方法

2、/usr/local/php/bin/phpize

/usr/local/php/bin/php-config

php安装安装OCI8方法

3、获取源码包oci8-2.0.8.tgz

tar -xvf oci8-2.0.8.tgz

cd oci8-2.0.8

php安装安装OCI8方法

4、/usr/local/php/bin/phpize

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

php安装安装OCI8方法

5、make && make install

php安装安装OCI8方法

6

php安装安装OCI8方法

猜你喜欢