Link to home
Start Free TrialLog in
Avatar of Marthaj
MarthajFlag for United States of America

asked on

Compiling PHP with Curl plus protocols

I would like to know "exactly' how (the links and commands) to compile php 5.6 with curl and so that curl has protocols http, ssl ftp and etc.
Even though my phpinfo says it is installed, I have reason to believe that my php really isn't right.
I am using Windows 10, localhost and Wampserver. My original download was the msi type.
I think I need the tread-safe 32 bit version. I  looked and I just get confused and i never have compiled a binary file for php before.
Any help would be appreciated.
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

What problem are you trying to solve?  WAMPserver contains specially compiled versions of all the programs that come with it.  Unless you had their specs, it would be next to impossible to compile your own version of PHP or any of the programs that would work with it.
Avatar of Marthaj

ASKER

Thank you for responding. Perhaps I have worded it wrong. I inherited a project - (I have posted another question about a problem with it ) - I have read a lot about having to download a binary version of php and compile it with curl options etc. That sometimes even though phpinfo shows curl installed with all sorts of protocol enabled, that sometimes it really isn't installed. Not sure how that could be possible but just looking for solutions. My phpinfo shows curl is enabled and the protocol I am using is listed but not flying. I have amde sure that the libeay32.dll and the ssleasy32.dll are in my windows/system32 folder. I just can not seem to get curl to work.
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@Dave: The other question is here.  It's about SOAP.
https://www.experts-exchange.com/questions/29016443/PHP-Curl-Problem.html
I saw it.  I was trying to give her a simple curl example to verify that PHP curl is working.  Re-compiling PHP to work with WAMP is not really an option.
Avatar of Marthaj

ASKER

Okay Dave, your idea to have me test whither my curl installation or not was an excellent idea! I received Fred Flintstone.
This being so, proves that my curl installation is good. at least with http protocol!  that is good news for me. I realize that with using https, I will need to use other commands such as pointing to my copy of ca etc. But this has been a HUGE relief!
And thank you too Ray for pointing out my other question, appreciate you both.
Avatar of Marthaj

ASKER

Thank you !
You're welcome.  I have another program for checking SSL/TLS connections.