简体   繁体   English

警告:PHP启动:无法加载动态库[IIS和PHP]

[英]Warning: PHP Startup: Unable to load dynamic library [ IIS and PHP ]

I'm currently doing a project for my school and I faced a few errors. 我目前正在为我的学校做一个项目,但遇到一些错误。 I am currently using PHP 7.1.12 with IIS and I have these errors. 我目前在IIS上使用PHP 7.1.12,但遇到这些错误。

[Warning: PHP Startup: Unable to load dynamic library 'ext\\php_interbase.dll' - The specified module could not be found. [警告:PHP启动:无法加载动态库'ext \\ php_interbase.dll'-找不到指定的模块。 in Unknown on line 0 在第0行的Unknown中

Warning: PHP Startup: Unable to load dynamic library 'ext\\php_oci8_12c.dll' - The specified module could not be found. 警告:PHP启动:无法加载动态库'ext \\ php_oci8_12c.dll'-找不到指定的模块。 in Unknown on line 0 在第0行的Unknown中

Warning: PHP Startup: Unable to load dynamic library 'ext\\php_pdo_firebird.dll' - The specified module could not be found. 警告:PHP启动:无法加载动态库'ext \\ php_pdo_firebird.dll'-找不到指定的模块。 in Unknown on line 0 在第0行的Unknown中

Warning: PHP Startup: Unable to load dynamic library 'ext\\php_pdo_oci.dll' - The specified module could not be found. 警告:PHP启动:无法加载动态库'ext \\ php_pdo_oci.dll'-找不到指定的模块。 in Unknown on line 0] 1 在未知的第0行] 1

I checked my php.ini and I added those dlls above into the extensions part. 我检查了php.ini,并将上面的那些dll添加到了扩展部分。 I also checked my php\\ext file and I do have those dll files. 我还检查了我的php \\ ext文件,但确实有那些dll文件。

As you can see from the highlighted files. 从突出显示的文件中可以看到。 My php.ini file 我的php.ini文件

I tried googling for answers but most people use Apache instead of IIS. 我尝试使用Google搜索来寻找答案,但大多数人都使用Apache而不是IIS。 Anyone knows how to solve it ? 有人知道如何解决吗? Your help is greatly appreciated. 非常感谢您的帮助。 :) :)

Those are database extensions. 这些是数据库扩展。 If you are not using those types of databases then you can go ahead and comment them out for the time being with a ';'. 如果您不使用这些类型的数据库,则可以继续使用“;”暂时注释掉它们。

Typically for school projects students use: 通常用于学校项目的学生使用:

MySQL (listed in php.ini as: 'php_pdo_mysql.dll'), MySQL(在php.ini中列为:“ php_pdo_mysql.dll”),

or 要么

Microsoft SQL Server (listed in php.ini as: 'php_pdo_odbc.dll')... Microsoft SQL Server(在php.ini中列为:'php_pdo_odbc.dll')...

...database adapter files (aka pdo .dll's). ...数据库适配器文件(又名pdo .dll)。 Sorry I am late to the game in answering this question since no one else felt compelled to do so in almost two months. 对不起,我迟到了游戏中回答这个问题,因为没有人觉得有必要所以在近两个月的事。 I hope you were able to figure this out from a teacher or another fellow student since it appears I am probably far too late to be of much help to you! 我希望您能够从老师或其他同学那里弄清楚这一点,因为看来我可能为时已晚,对您没有太大帮助!

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

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