I am having below error when I try to implement google and facebook authentication in windows 7 using wamp server.
Fatal error: Call
In windows 7 with PHP 5.5.31 after check that php_curl.dll extension is enabled (and still doesnt working), work for me to copy libeay32.dll and libssh2.dll from php directory to Apache bin.
download this file and replace your php_curl file.
http://pan.baidu.com/share/link?shareid=256509&uk=3675208906
php.ini
in the main PHP directoryphp.ini
enable the extension extension=php_curl.dll
, by removing the ;
charextension_dir
must look like this example: extension_dir = "D:\AMP\PHP\ext\"
, so not a relative pathphp_curl.dll
in the ext
directoryNot sure where to put my experience, hope it will be useful for someone.
In my case (win7 x64 + apache 2.4 + php 7.2), curl extension was enabled in php.ini
but did not load. Resolved by replacing libs libssl-1_1-x64.dll
and libcrypto-1_1-x64.dll
in Apache's bin
folder with the latest builds of OpenSSL
just a guess - this section in php.ini does not reference the correct location
; Directory in which the loadable extensions (modules) reside.
extension_dir = *some value*
http://www.php.net/manual/en/ini.core.php#ini.extension-dir
edit
Also, look for this block in your phpinfo, if it's not there, curl isn't loading (obviously). You're not looking for matching version numbers - just for the block's existence.
edit
look at this question also
PHP and CURL under Windows 7 64 bits and Apache
For WAMP running PHP 5.4.3 on Windows 7 64 bit, make sure you use php_curl-5.4.3-VC9-x64.zip NOT php_curl-5.4.3-nts-VC9-x64.zip.