Bug #76507 [Opn->Fbk]: IMAP break CURL https request.

From: Date: Wed, 08 Sep 2021 16:05:38 +0000
Subject: Bug #76507 [Opn->Fbk]: IMAP break CURL https request.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236471@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76507&edit=1

 ID:                 76507
 Updated by:         cmb@php.net
 Reported by:        wensting at gmail dot com
-Summary:            IAMP break CURL https request.
+Summary:            IMAP break CURL https request.
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            IMAP related
 Operating System:   MACOS 10.12.5
 PHP Version:        7.2.6
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Is this still an issue with any of the actively supported PHP
versions[1] for you?

[1] <https://www.php.net/supported-versions.php>


Previous Comments:
------------------------------------------------------------------------
[2018-06-21 02:12:58] wensting at gmail dot com

Description:
------------
RUNNING php-fpm  + NGINX 

while IMAP not enabled , everything works well with CURL . 

after enable IMAP extension,  CURL will break with https.  

PHP-fpm LOG 

[20-Jun-2018 18:37:29] WARNING: [pool www] child 99680 exited on signal 11 (SIGSEGV) after
187.014772 seconds from start

=========

The test script works as expected when running via php-cli , no matter imap enabled or not.

but with php-fpm or / laravel tinker. it breaks immediately with https.


=======

but if Starting php-fpm as root or staring laravel tinker as root . everything works.



Test script:
---------------
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_VERBOSE, '1');
$url = 'https://www.google.com';
curl_setopt($ch, CURLOPT_URL, $url );
curl_exec($ch);

Expected result:
----------------
IMAP extension should not require any root permission to start php-fpm on macos in order not to
break CURL with HTTPS.







------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=76507&edit=1


Thread (3 messages)

« previous php.bugs (#236471) next »