在 PHP WAMP windows 中更新 CURL
update CURL in PHP WAMP windows
我遇到了一个问题,似乎无法解决。
我从 http://winampplugins.co.uk/curl/
下载了 cURL
并将我的 sys 路径映射到它,它运行在 7.49.1 但我的 PHP 仍然是 运行 7.42.1
如何将最新的 CURL 映射或指向我的 php?
非常感谢任何指点。
干杯
据我所知,没有下载香草 cURL 并将其与 PHP 绑定这样的东西。您需要 PHP 版本的 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
我遇到了一个问题,似乎无法解决。
我从 http://winampplugins.co.uk/curl/
下载了 cURL并将我的 sys 路径映射到它,它运行在 7.49.1 但我的 PHP 仍然是 运行 7.42.1
如何将最新的 CURL 映射或指向我的 php?
非常感谢任何指点。
干杯
据我所知,没有下载香草 cURL 并将其与 PHP 绑定这样的东西。您需要 PHP 版本的 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
intoC:\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