Home > php教程 > php手册 > PHP Warning: PHP Startup: Unable to load dynamic library D

PHP Warning: PHP Startup: Unable to load dynamic library D

WBOY
Release: 2016-06-13 12:00:12
Original
881 people have browsed it

今天在家启动PHP环境的时候,突然发现不能加载php_mysqli.dll了,网上找了一圈,没有解决方案!
在群里面受一哥们儿的启发,竟然解决了,如果你的问题还没有解决,请按下面的方法试试!

apache下

比如我的apache装在D盘,目录是D:/severs/apache
PHP的目录是D:/servers/php5
这样,把D:/servers/php5/libmysql.dll拷贝到D:/servers/apache/bin这个目录下面
重启apache,问题迎刃而解!~~

iis下:
将php目录下的libmysql.dll复制到c:\windows\system32\目录里面,然后重启iis即可。如果提示正在使用,可以先停止iis(iisreset /stop)即可

当然提示其它dll文件也是一样的解决方法,一般情况下是先检查php目录权限,一般everyone读取,浏览 运行即可。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template