Hello! I use assembly Xampp (mysql + apache + php). Today I updated php from version 5.6 to 7.1, but there were problems with the curl library. The fact is that I have windows 7 64-bit, and xampp uses php x86, apparently because of this there is a dll conflict. Each time you turn on apache, an error appears:

The entry point to the libssh2_scp_recv2 procedure was not found in the libssh2.dll DLL

Behind her is another:

Ordinal number 385 not found in DLL SSLEAY32.dll

After that apache is loaded, but php does not use curl.

As I tried to solve the problem: I tried to change php_curl.dll from the 64-bit version of php, as a result there was no error, but curl did not work. I tried to add ssleay32.dll and libssh2.dll to c: / windows / system32 and c: / windows / sysWOW64 but the errors remained.

How to properly activate curl after updating php?

  • Maybe it's easier for you to download OpenServer and select the x64 version of PHP there? ( ospanel.io/download ) - Daniel Protopopov
  • No, then you have to spend time transferring all the databases. Now everything is working, it just remains to understand how to activate curl - riki-tik

1 answer 1

If anyone has the same problem: you need to move the files libeay32.dll, libssh2.dll and ssleay32.dll from the php folder to the xampp / apache / bin folder

  • Thank you, it helped, I advise you to note that this is exactly the right answer to the question and probably you should close the question itself :) - VikingBO
  • It helped me too. Thank you for your question. "... The entry point to the libssh2_scp_recv2 procedure was not found in the libssh2.dll DLL ...". I put libssh2.dll in the folder C: \ OSPanel \ modules \ php \ PHP-5.5. - Dmitry