The APACHE+PHP+MYSQL environment of the CentOS server was re-installed a few days ago, and by command Curl Https://githup.com can get to the Web content, but the connection to HTTPS via PHP code curl is reset, HTTP can be used normally, what is the probable cause? Please the great god, thank you first.
Reply content:
The APACHE+PHP+MYSQL environment of the CentOS server was re-installed a few days ago, and by command Curl Https://githup.com can get to the Web content, but the connection to HTTPS via PHP code curl is reset, HTTP can be used normally, what is the probable cause? Please the great god, thank you first.
The domestic problem is very complicated, you curl_getinfo look.
In addition http://github.com will be 302 jump to/your normal use is what mean?
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, FALSE);