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.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.4 32 bit - Apache 2.4.37 - PHP 7.2.11/7.1.23/7.0.32/5.6.38 - MySQL 5.7.23 - MariaDB 10.3.10
Wampserver 3.1.4 64 bit - Apache 2.4.37 - PHP 7.2.11/7.1.23/7.0.32/5.6.38 - MySQL 5.7.23 - MariaDB 10.3.10
PhPMyadmin 4.8.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »



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.