在wampserver中更新cURL [英] Update cURL in wampserver

查看:264
本文介绍了在wampserver中更新cURL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有wampserver 2.2E在我的Windows系统,其中包括以下版本:

I have wampserver 2.2E in my windows system which includes below version:

PHP: 5.3.13
Apache: 2.2.22
cURL: 7.24

我必须访问sharepoint的某个文件。当我访问该文件时,出现以下错误:

I have to access some file of sharepoint. When I access that file, I got below error:

HTTP/1/1 401: unauthorised

当我搜索时,我发现升级更新版本的cURL可以解决这个问题。但是,如何升级这个扩展?任何帮助将高度赞赏...

When I searched, I found that upgrading newer version of cURL can fix this issue. But, how to upgrade this extension? Any help would be highly appreciated...

推荐答案

下载较新的PHP版本,并从ext文件夹获取php_curl.dll, (备份后) http://windows.php.net/download/

Download newer PHP version and get the php_curl.dll from the ext folder and replace it (after taking backup) http://windows.php.net/download/

这篇关于在wampserver中更新cURL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆