Edit report at https://bugs.php.net/bug.php?id=78845&edit=1
ID: 78845
Comment by: gilperon at gmail dot com
Reported by: gilperon at gmail dot com
Summary: mysqli_connect() causes malfunctions of curl
Status: Feedback
Type: Bug
Package: *General Issues
Operating System: Centos 7
PHP Version: 7.2.24
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Hey guys,
Yesterday it came back to work, RIGHT after I updated the PHP version to 7.2.25. However today, the
bug came back to happening again! It's pretty strange, cause I didnt update anything today on
my CENTOS server.
Really weird. I also clean installed Centos 7 on a new cloud, installed LAMP with PHP to 7.2.25 and
the bug also happens on a clean install. It's pretty easy to check it, just run the code with
MYSQLI and CURL using HTTPS and it happens.
HOWEVER if I remove HTTPS from the CURL it works just fine.
Previous Comments:
------------------------------------------------------------------------
[2019-11-26 10:54:17] cmb@php.net
> [â¦] can you please try with a current Git snapshot?
I mean with PHP 7.2.25 (which has already been released).
------------------------------------------------------------------------
[2019-11-26 10:48:41] cmb@php.net
> This should be solved on 7.2.5 with Nikita's patch [â¦]
Ah, good catch! It's 7.2.25, though.
@gilperon, can you please try with a current Git snapshot?
------------------------------------------------------------------------
[2019-11-25 16:02:41] lcobucci@php.net
This should be solved on 7.2.5 with Nikita's patch http://git.php.net/?p=php-src.git;a=commit;h=4f984a2fdb3815361f83013c23af0ff5d6d63d67
of bug #78775
------------------------------------------------------------------------
[2019-11-21 12:23:36] gilperon at gmail dot com
Guys I think it has something related to SSL!
On the test code I provided you if you change https://www.sitepor500.com.br to any domain that DOES NOT
have SSL it will work. Try changing https://www.sitepor500.com.br to any domain that does not
force https redirection and the bug goes away.
So it clearly only happen when the destination domain uses SSL.
note: this bug does not happen when using file_get_contents.
------------------------------------------------------------------------
[2019-11-20 22:45:29] cmb@php.net
This might be related to bug #78824.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=78845
--
Edit this bug report at https://bugs.php.net/bug.php?id=78845&edit=1