Bug #79063 [Opn->Csd]: curl openssl does not respect PKG_CONFIG_PATH nor --with-openssl-dir
| From: | nikic@php.net | Date: | Mon, 06 Jan 2020 09:31:44 +0000 |
| Subject: | Bug #79063 [Opn->Csd]: curl openssl does not respect PKG_CONFIG_PATH nor --with-openssl-dir | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-224724@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79063&edit=1
ID: 79063
Updated by: nikic@php.net
Reported by: naox at yum dot pl
Summary: curl openssl does not respect PKG_CONFIG_PATH nor
--with-openssl-dir
-Status: Open
+Status: Closed
Type: Bug
Package: *Compile Issues
PHP Version: 7.4.1
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of nikita.ppv@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b59f760472787bef78f9fc71eaa02f3cf056dff8
Log: Fix bug #79063: Curl openssl does not respect PKG_CONFIG_PATH
Previous Comments:
------------------------------------------------------------------------
[2020-01-04 14:50:00] naox at yum dot pl
Description:
------------
openssl compiled into curl extension does not respect PKG_CONFIG_PATH nor --with-openssl-dir during
compilation. Bug was not present before php 7.4. Now you can't have curl with openssl diffrent
than one on your OS.
openssl extension respects PKG_CONFIG_PATH and --with-openssl-dir during compilation, but openssl
compiled into curl extension does not. That means you can end up with diffrent openssl in those two
extensions.
you can check openssl version in both those extensions in phpinfo()
You might think that curl extension would have openssl version that is compiled into curl but
strangely no.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79063&edit=1