Bug #78891 [Opn->Fbk]: Bug with CURL completely stopped working

From: Date: Sat, 30 Nov 2019 13:09:13 +0000
Subject: Bug #78891 [Opn->Fbk]: Bug with CURL completely stopped working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-223964@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78891&edit=1 ID: 78891 Updated by: nikic@php.net Reported by: gilperon at gmail dot com Summary: Bug with CURL completely stopped working -Status: Open +Status: Feedback Type: Bug Package: Unknown/Other Function Operating System: all PHP Version: 7.2.25 Block user comment: N Private report: N New Comment: This issue is almost certainly not on the PHP side, but either due to a libcurl update (maybe you pulled one in together with a PHP update?) or a misconfiguration of the certificate store (most likely). The fact that this happens with just curl, that there have been no recent code changes (in PHP) in this area, and the issue is not reproducible by other people (I just tried your code, works just fine) is a pretty strong indication of that. To say more here, at the very least it would be important to know a) what error curl reports and b) what libcurl version you're using and whether it was updated recently. Previous Comments: ------------------------------------------------------------------------ [2019-11-30 12:30:55] cmb@php.net Sorry! ------------------------------------------------------------------------ [2019-11-30 12:13:24] gilperon at gmail dot com cmb@php.net -> clearly you didnt read this bug report! It's different from ANY of the other bugs I reported! Now, the CURL simply does not work. It does not matter if you will open a database connection previsouly or if you create a previous connection with SSL. No! This BUG HAPPENS SIMPLY USING CURL ONCE! ------------------------------------------------------------------------ [2019-11-30 07:47:16] cmb@php.net Please stop reporting the same issue over and over again. Thanks. ------------------------------------------------------------------------ [2019-11-30 01:45:03] gilperon at gmail dot com Description: ------------ The test script does not work anymore using Curl with any destination that is HTTPS. If you try any destination with HTTP it will work just fine. On .24 version this bug ONLY would happen when you first connected to a database and after that tried to use CURL. But now, this bug affects using only CURL and doesnt need to connect to database to trigger it anymore. This bug just got a lot more serious. Test script: --------------- <?php $curl = curl_init(); $opts = array(); $opts[CURLOPT_URL] = "https://www.sitepor500.com.br"; curl_setopt_array($curl,$opts); echo curl_exec($curl); ?> Expected result: ---------------- I should see the content of the requested url Actual result: -------------- Nothing is shown. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78891&edit=1

« previous php.bugs (#223964) next »