donglieshe4692
2016-07-11 07:09
浏览 106
已采纳

在PHP WAMP窗口中更新CURL

i encountered an issue and can't seem to be able to solve it.

i downloaded the cURL from http://winampplugins.co.uk/curl/

and mapped my sys path to it which runs at 7.49.1 but my PHP is still running 7.42.1

How can i map or point the latest CURL to my php?

any pointer are greatly appreciated.

Cheers

图片转代码服务由CSDN问答提供 功能建议

我遇到了一个问题,似乎无法解决它。

我从 http://winampplugins.co.uk/curl/ 下载了cURL

并将我的sys路径映射到它,运行时间为7.49.1但我的PHP仍在运行7.42.1

我如何映射或指向最新的 CURL到我的php?

非常感谢任何指针。

干杯

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dongwei4096 2016-07-11 07:20
    已采纳

    As far as I know there is no such thing as downloading vanilla cURL and binding it with PHP. You need PHP version of cURL.

    Step by Step

    Step 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

    Step 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\

    NOTE: your phpx.x.x folder might be different (depends on your php version)

    Step 3

    Restart Apache from WAMP Control Panel

    Source

    已采纳该答案
    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题