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.