如何调整PHP5和OCI8模块的设置
如何调整PHP5和OCI8模块的设置,php,oracle,Php,Oracle,Ubuntu 14.04.3 x64、Apache 2.4.7、nginx 1.9.10、php 5.6.18-1 我安装了oracle instantclient和OCI8扩展,但它没有初始化,并且php-Ishow me warning PHP Warning: PHP Startup: oci8: Unable to initialize module Module compiled with module API=20121212 PHP compiled with module
Ubuntu 14.04.3 x64、Apache 2.4.7、nginx 1.9.10、php 5.6.18-1
我安装了oracle instantclient和OCI8扩展,但它没有初始化,并且
php-I
show me warningPHP Warning: PHP Startup: oci8: Unable to initialize module
Module compiled with module API=20121212
PHP compiled with module API=20131226
These options need to match in Unknown on line 0
如何调整PHP5和OCI8模块的设置提前感谢。我对PHP 5.6的解决方案是: 以ROOT用户身份运行:
# pecl install oci8-2.0.12
然后在问题中,选择[autodetect]
在这之后,一切都很好