Desmond
Desmond

Reputation: 5011

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/

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

Upvotes: 0

Views: 3460

Answers (1)

mirza
mirza

Reputation: 5793

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

Upvotes: 2

Related Questions