问题已经得到解决。bugs.php.net 回复,让我重新下载文件包。Please try again using the binaries at http://windows.php.net/releases/ (官方在 2010-Jul-27 10:45:47 更新了包)。看来也有人遇到了这样的问题,如: I experienced the same problem with the binaries released on the 22nd of july (build date : 2010-07-21). A workaround was to add the zlib library (version 1.2.3) into the system path or into the PHP directory (with filename zlib.dll, not zlib1.dll).The binaries at http://windows.php.net/releases/ (build date : 2010-07-27) work like expected, without any zlib.dll related error.下载27号的新包即可。新包更新了 php_curl.dll 文件的bug。多谢大家的探讨。结贴散分!
php_curl.dll的文件大小不一致的,显然是因为它和5.2.13版本不一样,这有什么好奇怪的?
关键是ext下其他链接库文件全部和5.2.13一致啊。
php是在php.net官网下载的。大家都没升级到这个版本吗
你看看服务器的应用程序纪录中有没有错误,一般来说如果是dll有问题,启动服务器的时候是会有错误的。
我原先也是你这样想的。后来我把以前版本5.2.13里面的php_curl.dll 覆盖到5.2.14里面。重启web。curl的函数能正常工作了。但phpinfo没有curl项。php.exe -m 也无该项。我的5.2.13和5.2.14的php.ini 配置完全一致。比对后两个版本改动很少。但就curl无法正常工作。
5.2.14启动时php错误日志里显示无法加载动态链接库文件,但该文件确实是存在。唉。头疼。我觉得应该是一个bug。就是想问问大家有遇到过没,多谢大家讨论和建议
已经report到php bug。
有结果了我再贴过来。暂不结贴。再次感谢各位前辈。
I experienced the same problem with the binaries released on the 22nd of
july (build date : 2010-07-21). A workaround was to add the zlib library
(version 1.2.3) into the system path or into the PHP directory (with
filename zlib.dll, not zlib1.dll).The binaries at http://windows.php.net/releases/ (build date :
2010-07-27) work like expected, without any zlib.dll related error.下载27号的新包即可。新包更新了 php_curl.dll 文件的bug。多谢大家的探讨。结贴散分!