简体   繁体   English

在PHP WAMP Windows中更新CURL

[英]update CURL in PHP WAMP windows

i encountered an issue and can't seem to be able to solve it. 我遇到了一个问题,似乎无法解决。

i downloaded the cURL from http://winampplugins.co.uk/curl/ 我从http://winampplugins.co.uk/curl/下载了cURL

and mapped my sys path to it which runs at 7.49.1 but my PHP is still running 7.42.1 并将我的系统路径映射到以7.49.1运行,但是我的PHP仍在运行7.42.1

How can i map or point the latest CURL to my php? 如何将最新的CURL映射或指向我的PHP?

any pointer are greatly appreciated. 任何指针都将不胜感激。

Cheers 干杯

As far as I know there is no such thing as downloading vanilla cURL and binding it with PHP. 据我所知,还没有下载香草cURL并将其与PHP绑定的事情。 You need PHP version of cURL. 您需要PHP版本的cURL。

Step by Step 一步步

Step 1 第1步

Download for 32-bit: http://windows.php.net/downloads/releases/php-5.6.7-Win32-VC11-x86.zip Download for 64-bit: http://windows.php.net/downloads/releases/php-5.6.7-Win32-VC11-x64.zip 下载32位: http : //windows.php.net/downloads/releases/php-5.6.7-Win32-VC11-x86.zip下载64位: http : //windows.php.net/downloads /releases/php-5.6.7-Win32-VC11-x64.zip

Step 2 第2步

Extract File (Overwrite file - It is a good idea to keep a backup of the file in case something fails): /etx/php_curl.dll into C:\\wamp\\bin\\php\\php5.5.12\\ext\\ 提取文件(覆盖文件-万一发生故障,最好保留文件备份):/ /etx/php_curl.dllC:\\wamp\\bin\\php\\php5.5.12\\ext\\

NOTE: your phpx.xx folder might be different (depends on your php version) 注意:您的phpx.xx文件夹可能有所不同(取决于您的php版本)

Step 3 第三步

Restart Apache from WAMP Control Panel 从WAMP控制面板重新启动Apache

Source 资源

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

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