I am using Windows10 64 bit Apache 2.4.25 (Win64) PHP 7.1.0-Win32-VC14-x64
when i try calling curl_init() function, i get an error saying \"Call to undefined functio
I fixed it by:
1)Edit php.ini file Enable( uncomment) php_curl.dll and php_openssl.dll extensions
2)go to c:/php7/
Copy libssh2.dll into c:/apache24/bin folder.
3) test by: curl_test.php
installed on this server"; } else { echo "cURL is NOT installed on this server"; } ?>