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

PHP Warning: PHP Startup: Unable to load dynamic l

WBOY
WBOYOriginal
2016-06-06 20:07:482591browse

本地win7测试环境中添加redis扩展时,ext里也放进了对应的扩展,php.ini里也打开了配置(extension= php_redis.dll ),但是重启后提示PHP Warning: PHP Startup: Unable to load dynamic library ‘ext\ php_redis.dll ’,最后发现还需要下载php_igbinary.

本地win7测试环境中添加redis扩展时,ext里也放进了对应的扩展,php.ini里也打开了配置(extension=php_redis.dll),但是重启后提示PHP Warning: PHP Startup: Unable to load dynamic library ‘ext\php_redis.dll’,最后发现还需要下载php_igbinary.dll扩展。在折腾php redis扩展中总结出以下几点:

1.下载对应自己php版本的redis扩展

2.区分自己的php是threead safe 还是 non thread safe,vc6还是vc9编译

3.尝试打开igbinary扩展

Statement:
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