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

在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

  • 写回答

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?