PHP 7 curl not being loaded PHP 7 curl not being loaded curl curl

PHP 7 curl not being loaded


In my case it worked when I also copied nghttp2.dll to Apache bin directory


I was looking for a solution a really long time, until I decided to read some comments on the PHP documentation site: http://php.net/manual/de/curl.installation.php

I fixed coping the following list files from php folder (in my case C:\xampp\php7)

libeay32.dlllibssh2.dllssleay32.dll

Some people also had to move nghttp2.dll for it to work.

To your apache/bin folder (C:\xampp\apache\bin in my case).

I also copied those to C:\Windows\System32, but I do not think any of these files were loaded.

EDIT: I successfully deleted these dlls from system32 folder and was able to run curl afterwards


Make sure you have edited the right file. There should be separate file for CLI, Apache2 and other SAPIs. After doing so, restart the Apache2 server.