note 124603 added to openssl.installation
| From: | Anonymous@php.net | Date: | Sun, 12 Jan 2020 15:22:01 +0000 |
| Subject: | note 124603 added to openssl.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-213868@lists.php.net to get a copy of this message | ||
This is for those upgrading from PHP 5 to 7 on windows and are trying to make Curl work. Hopefully
it saves you the hours I spent finding my mistake. You might have done the thing this documentation
tells you not to.
So I followed the documentation to set up Curl with PHP 7.3, however Apache kept giving me the
standard "The specified procedure could not be found.)" error. The dlls were in place and
the path to php directory was there, I even copied them to Apache's bin directory and still no
luck. However, when I ran PHP from command line there were no errors. Not sure if these two were
linked, however, I noticed that the required dlls (ssleay32.dll, libssh2.dll, libeay32.dll) were
located in multiple directories, including the windows/system32 (the big no no). During PHP 5
installation (back in the day) I had copied these over to make my life easy. Well it was culprit. As
soon as I removed these files from the system32 directory, CURL loaded fine. I believe it was
because there was DLL mismatch from those in my php directory and in the windows/system32 as both
are in Windows path. I hope this saves someone the time. Lesson: when something is not recommended
by these docs, just don't do it.
----
Server IP: 45.112.84.4
Probable Submitter: 38.142.137.34 (proxied: 108.48.92.28)
----
Manual Page -- http://php.net/manual/en/openssl.installation.php
Edit -- https://master.php.net/note/edit/124603
Del: integrated -- https://master.php.net/note/delete/124603/integrated
Del: useless -- https://master.php.net/note/delete/124603/useless
Del: bad code -- https://master.php.net/note/delete/124603/bad+code
Del: spam -- https://master.php.net/note/delete/124603/spam
Del: non-english -- https://master.php.net/note/delete/124603/non-english
Del: in docs -- https://master.php.net/note/delete/124603/in+docs
Del: other reasons-- https://master.php.net/note/delete/124603
Reject -- https://master.php.net/note/reject/124603
Search -- https://master.php.net/manage/user-notes.php