Bug #78879 [Dup]: Serious bug again: SSL not working
| From: | peehaa@php.net | Date: | Thu, 28 Nov 2019 23:10:54 +0000 |
| Subject: | Bug #78879 [Dup]: Serious bug again: SSL not working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-223928@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78879&edit=1
ID: 78879
Updated by: peehaa@php.net
Reported by: gilperon at gmail dot com
Summary: Serious bug again: SSL not working
Status: Duplicate
Type: Bug
Package: *General Issues
Operating System: any
PHP Version: 7.2.25
Block user comment: N
Private report: N
New Comment:
Seriously please don't seriously duplicate serious bug reports like this.
It makes it harder for us to keep track of serious and non-serious bug reports.
It's seriously sufficient to seriously notify on the serious original bug report (as you
seriously did).
Again: the moment serious information gets spread out over multiple serious bug reports it just
seriously gets hard to keep track off.
Seriously please do not seriously submit the same serious bug more than once. An existing serious
bug report already seriously describes this very problem. Even if you seriously feel that your
serious issue is somewhat different, the serious resolution is seriously likely to be the same.
Seriously thank you for your serious interest in serious PHP.
Thank you sinseriously
Previous Comments:
------------------------------------------------------------------------
[2019-11-28 17:57:42] gilperon at gmail dot com
Yeah, serious duplicate of a serious bug that was not seriously fixed on version .24 and now
seriously affects who use the latest seriously "unstable" version.
------------------------------------------------------------------------
[2019-11-28 15:25:14] peehaa@php.net
Serious duplicate of https://bugs.php.net/bug.php?id=78845 ?
------------------------------------------------------------------------
[2019-11-28 15:18:18] gilperon at gmail dot com
Description:
------------
Run de code below. It just tries do connect to a local database and after that it tries to request a
URL content. In the case below if I use https://www.sitepor500.com.br it does not work however if I
use http://www.sitepor500.com.br (without SSL) it works.
You can try with any URL, the problem relies on whether you are using SSL or not using SSL.
<?php
$conn = mysqli_connect("localhost","root","your_password");
$curl = curl_init();
$opts = array();
$opts[CURLOPT_URL] = "https://www.sitepor500.com.br";
curl_setopt_array($curl,$opts);
echo curl_exec($curl);
?>
Test script:
---------------
<?php
$conn = mysqli_connect("localhost","root","your_password");
$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 be able to see the content of the request using CURL
Actual result:
--------------
Nothing is returned.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78879&edit=1