Problem with CURL
Posted by: mivan (---.neoplus.adsl.tpnet.pl)
Date: September 18, 2012 10:20PM

"Fatal error: Call to undefined function curl_init() in..."

How to turn on Wamp? I have the newest version and yes, I did uncomment the line in php.ini but it still doesn't work. Help?

Options: ReplyQuote
Re: Problem with CURL
Posted by: RiggsFolly (---.as13285.net)
Date: September 19, 2012 01:03AM

use the 32 bit version of wamp

Options: ReplyQuote
Re: Problem with CURL
Posted by: mivan (---.neoplus.adsl.tpnet.pl)
Date: September 19, 2012 02:13AM

Haha, it works grinning smiley WAT. Thanks man



Edited 2 time(s). Last edit at 09/19/2012 02:33AM by mivan.

Options: ReplyQuote
Re: Problem with CURL
Posted by: mivan (---.neoplus.adsl.tpnet.pl)
Date: September 19, 2012 02:50AM

I have problem with SSL now sad smiley

Curl error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086confused smileySL routinesconfused smileySL3_GET_SERVER_CERTIFICATE:certificate verify failed

EDIT: I added this code:
curl_setopt($c, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($c, CURLOPT_SSL_VERIFYPEER, 0);

and it seems to work



Edited 3 time(s). Last edit at 09/19/2012 03:18AM by mivan.

Options: ReplyQuote


Sorry, only registered users may post in this forum.