cURL on PHP7 on WAMP 3.1.4 32bit
Posted by: davidphtee (---.home.otenet.gr)
Date: October 21, 2018 04:08PM

I've just upgraded to WAMP 3.1.4 and PHP 7.2.11 with Apache 2.4.18.

Under PHP extensions, curl is activated. But, if I do phpinfo(), PHP7 doesn't seem to have been built with cURL, and there is no details about cURL in the info.

When I all curl_init(), I get an error "Call to undefined function".

Can anyone help me get this working?

Thanks

Options: ReplyQuote
Re: cURL on PHP7 on WAMP 3.1.4 32bit
Posted by: Otomatic (Moderator)
Date: October 21, 2018 04:45PM

Hi,

Wampserver 3.1.4 - Apache 2.4.35 - PHP 7.2.11 - Phpinfo has :
curl
cURL support enabled
cURL Information 7.61.1

See PHP Documentation about Curl : Client URL Library where you will see : In order to use PHP's cURL functions you need to install the » libcurl package.

You will see also :
Quote
PHP
In order to enable this module on a Windows environment, libeay32.dll and ssleay32.dll, or, as of OpenSSL 1.1 libcrypto-*.dll and libssl-*.dll, must be present in your PATH. Also libssh2.dll must be present in your PATH. You don't need libcurl.dll from the cURL site.
Do not put any path related to Wampserver or PHP files in the PATH environment variable, you do not need it.
Depending on the version of PHP used, all the necessary files are present in the Apache bin folder.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons



Edited 1 time(s). Last edit at 10/21/2018 05:38PM by Otomatic.

Options: ReplyQuote
Re: cURL on PHP7 on WAMP 3.1.4 32bit
Posted by: davidphtee (---.home.otenet.gr)
Date: October 22, 2018 08:20AM

Thanks a lot. All working now after the upgrade of Apache and VC++

Options: ReplyQuote


Sorry, only registered users may post in this forum.