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

From: Date: Sun, 19 Sep 2021 04:22:13 +0000
Subject: Bug #76507 [Fbk->NoF]: IMAP break CURL https request.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236687@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:       php-bugs@lists.php.net
 Reported by:      wensting at gmail dot com
 Summary:          IMAP break CURL https request.
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          IMAP related
 Operating System: MACOS 10.12.5
 PHP Version:      7.2.6
 Assigned To:      cmb
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2021-09-08 16:05:38] cmb@php.net

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

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

------------------------------------------------------------------------
[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 (#236687) next »