Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

komalbhatt's avatar

Curl function giving error 60

I am setting corn job that contain use of curl function it is giving error for laravel projects only while core php project are working perfectly fine using curl . i.e., http://localhost/<file.php> - working perfectly fine for allcurl function http:// -not working curl function

0 likes
3 replies
bobbybouwmann's avatar

What is the full error? What curl call do you use? Without details we can't help you any further!

komalbhatt's avatar

I have solved my problem thanks for all the comments .I have made us of curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); and things worked for me Thanks @bobbybouwmann for again helping me and thanks @lostdreamer_nl

Please or to participate in this conversation.