Php7 curl ssl returns false

  • question: the false,curl_error returned by curl_exec is empty, and the http_code under getinfo is 0. I am requesting a shielded identity authentication API. The request configuration is shown in the following figure

  • ,,info,
  • php7.24,(curl_init,)curl -d xxxx xxxx,?.
  • curl(,)

  • add that it seems to be the problem with my php version and extension? Because there is no problem for me to request either the local curl of the server or the test server php-curl? emmmmm, is even bigger. Service provider No. 15 has received my request, and I haven"t upgraded anything in recent days.
  • add, if there is no problem in requesting a link without ssl encryption, return false, if you visit a link with ssl encryption For example, https://www.baidu.com and www.ba. to solution? Bosses.
Mar.20,2021

A simple test method:

  1. download Postman ( https://www.getpostman.com)
  2. send a request (the other party will never say that the request has not been received)
  3. if 2 succeeds, copy the curl code automatically generated by Postman.
  4. if this code still fails on the server, it's the server setup problem. On the contrary, it is the problem of the code.

seems to know how to solve it, but the cause of the error remains to be investigated.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf10c0-310a3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf10c0-310a3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?