Enable CURL for Windows for PHP5.6.4

I am trying to use HybridAuth in one of my projects, im get error message

Original error message: Hybridauth library requires PHP CURL extension.

Even if I turned on cURL in my php.ini  extension = php_curl.dll

here is a screenshot of my phpinfo()

enter image description here

What else do I need to do to enable the cURL extension, the related one is php_curl.dllalso present in extdir

The message I get when I restart the Apache server

C: \ Apache24 \ bin> httpd -k restart AH00558: httpd: could not reliably determine the fully qualified domain name of the server using fe80 :: a02e: 1c05: c6ad: 9332. Set the global "ServerName" directive to suppress this message

enter image description here

+4
5

, curl, PHP_5.6.4, PHP Version 5.4.3, curl ( , ) php_curl.dll , , , .

SO

PHP cURL - WAMP Windows 7 64

P.S, , , , ...

+1

PHP Windows. , php C:\PHP, C:\PHP, C:\PHP\ext Windows. , Apache libeay32.dll, ssleay32.dll libssh2.dll

+7

:

if  (in_array  ('curl', get_loaded_extensions())) {
    echo "cURL is installed on this server";
}
else {
    echo "cURL is not installed on this server";
}

, .

+1

php_curl.dll ( zip , php.net)

libssh2.dll, php_curl.dll, ssleay32.dll, libeay32.dll Windows\system32

. php 5.6.6 x64 ts apache 2.4.10 Windows 8.1.

+1

You must add the PHP installation path to the Windows environment path. For example, if you install PHP on C:\PHP, add both C:\PHPand C:\PHP\extto the Windows path. Somehow, Apache cannot find dependency twists libeay32.dll, ssleay32.dlland libssh2.dll.

0
source

Source: https://habr.com/ru/post/1569963/


All Articles