繁体   English   中英

PHP无法加载某些库

[英]php unable to load certain libraries

注意:我知道以下问题已被多次询问。 我尝试在线跟踪解决方案,但是尝试跟踪解决方案并没有成功。 因此,我希望有人可以针对我的具体情况逐步指导我。

我一直在尝试创建链接到数据库的网页。 当我使用sqlsrv_connect()函数时,网页上显示一条错误消息,提示Call to undefined function sqlsrv_connect() 我查看了PHP错误日志,它说

[30-Nov-2019 18:19:39 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'oci8_12c' (tried: ext\oci8_12c (The specified module could not be found.), ext\php_oci8_12c.dll (The specified module could not be found.)) in Unknown on line 0
[30-Nov-2019 18:19:39 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_firebird' (tried: ext\pdo_firebird (The specified module could not be found.), ext\php_pdo_firebird.dll (The specified module could not be found.)) in Unknown on line 0
[30-Nov-2019 18:19:39 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_oci' (tried: ext\pdo_oci (The specified module could not be found.), ext\php_pdo_oci.dll (The specified module could not be found.)) in Unknown on line 0

在php.ini文件中,我未注释以下内容:

extension=oci8_12c  ; Use with Oracle Database 12c Instant Client
extension=pdo_firebird
extension=pdo_oci

以上所有扩展dll文件都存在于我的php / ext文件夹中。

为什么会收到此警告,该如何解决?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM