PHP Curl is not loading in PHP 7.3.3 for windows 8.1 64 bit ← (PHP)

Solution:

This won't "fix" the bug, but you might try using the DLL from another version of PHP https://windows.php.net/downloads/releases/archives/

I took PHP 7.3.2 win32 VC15 x64, and the php_curl.dll from it seems compatible with PHP 7.3.3 Win32 VC 15, which is my PHP installed version.

Answer



Solution:

This works for me :)

Add the following to the end of Apache/conf/httpd.conf:

load curl and open ssl libraries

LoadFile "C:/(path to php folder)/libssh2.dll"

Answer



Solution:

To solve the problem, copy the following 3 files from the PHP root folder to the Apache's bin subfolder:

  • libeay32.dll
  • libssh2.dll
  • ssleay32.dll

Then restart the Apache's service.

Answer



Solution:

Solved my issues in this matter configuring in httpd.conf with the option

PHPIniDir=C:/PHP7

must test php, on extensions, on the command line with

php -m

Answer



Solution:

They have changed the paths. If you have installed PHP in C:\php7\ directory, then you need to put something like this in your php.ini file.

extension=/php7/ext/php_sockets.dll

Answer



Solution:

A Gotcha! on Windows, if you typically run one of several different versions of PHP, would be that your Apache referenced version might be out of sync with your windows environment var PHP version. Discovered this because I typically work with legacy code in various versions and oddly curl refused to load even though all the configuration in Apache and PHP were correct... Then I remembered my previous job was using PHP 5.4 As soon as I changed my env var to the current version of PHP Apache and PHP loaded curl

Source