PHP cURL不工作 - WAMP在Windows 7 64位 [英] PHP cURL not working - WAMP on Windows 7 64 bit
问题描述
我的Windows 7 64bit安装了我的 WAMP 。 cURL不工作,但仍然从WAMP托盘启用。
I got my WAMP installed on my windows 7 64bit. cURL is not working, but still I got it enabled from the WAMP tray.
我也取消注释 extension = php_curl.dll
在 php.ini
为PHP和Apache文件夹。
I have also uncommented extension=php_curl.dll
in php.ini
for both the PHP and Apache folder.
Windows给我一个错误消息,
Windows give me an error message,
PHP启动:无法加载动态库'c:/wamp/bin/php/php5.4.3/ext/php_curl.dll' - 应用程序启动失败,因为它的并行配置不正确。请参阅应用程序事件日志或使用命令行sxstrace.exe工具获取更多详细信息。
PHP Startup: unable to load dynamic library 'c:/wamp/bin/php/php5.4.3/ext/php_curl.dll' - the application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-lin sxstrace.exe tool for more detail."
如何解决此问题?
推荐答案
前往 http://www.anindya.com/php-5-4-3-and-php-5-3-13 -x64-64-bit-for-windows / ,并下载与您的 PHP 版本对应的cURL版本在固定卷轴扩展名下。
Go to http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/ and download the cURL version that corresponds to your PHP version under "Fixed curl extensions:".
因此,如果您有PHP 5.3.13,请下载php_curl-5.3.13-VC9-x64 .zip,首先尝试VC版本,然后替换ext文件夹中的php_curl.dll,这对我有用。
So if you have PHP 5.3.13, download "php_curl-5.3.13-VC9-x64.zip". Try the "VC" version first. Then replace the php_curl.dll in ext folder. This worked for me.
这篇关于PHP cURL不工作 - WAMP在Windows 7 64位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!