简体   繁体   English

如何在Wamp服务器WIN XP上安装PHP curl扩展?

[英]How to install PHP curl extension on wamp server WIN XP?

I have WAMP SERVER,PHP 5.3.0 and Apache server 2.2.11 I want to download a suitable CURL lib version for it I studied the sites and found that this installation will not be easy it may not work if the version is not suitable please help me with details also I found here: 我有WAMP SERVER,PHP 5.3.0和Apache服务器2.2.11。我想为其下载一个合适的CURL lib版本。我研究了这些站点,发现此安装并不容易,如果该版本不合适,可能无法正常工作。帮助我提供细节,我也在这里找到了:

http://in.answers.yahoo.com/question/index?qid=20090827212635AAWBwZj http://in.answers.yahoo.com/question/index?qid=20090827212635AAWBwZj

http://www.ozzu.com/programming-forum/curl-issue-for-wamp-server-t100949.html http://www.ozzu.com/programming-forum/curl-issue-for-wamp-server-t100949.html

but I'm not sure to get the perfect result cause my version is different 但由于我的版本不同,我不确定获得理想的结果

also I have another problem if I can not install it in a good way will my wamp server and databases go wrong or not? 如果无法正确安装它,我还有另一个问题,我的Wamp服务器和数据库是否会出错?

Are you running WAMPSERVER? 您正在运行WAMPSERVER吗? If not, I would recommend doing so if you wouldn't miss your current WAMP environment -- it comes with CURL along with many other useful features. 如果没有,我建议您这样做,如果您不会错过当前的WAMP环境-CURL附带了许多其他有用的功能。

Check it out here: http://www.wampserver.com/en/ 在此处查看: http : //www.wampserver.com/en/

open php.ini file and find this line 打开php.ini文件并找到此行

;extension=php_curl.dll ; extension = php_curl.dll

remove ; 去掉 ;

extension=php_curl.dll 扩展名= php_curl.dll

save file ... still problem exists then check for this file 保存文件...仍然存在问题,然后检查该文件

php_curl.dll php_curl.dll

in

{wamp}\\bin\\php\\php5.xx\\ext\\ {wamp} \\ bin \\ php \\ php5.xx \\ ext \\

if it's not there than download it from internet and paste it to there 如果不存在,请从互联网下载并将其粘贴到那里

Restart Apache. 重新启动Apache。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM