Bug #79063 [Csd]: curl openssl does not respect PKG_CONFIG_PATH nor --with-openssl-dir
| From: | nikic@php.net | Date: | Mon, 06 Jan 2020 09:44:40 +0000 |
| Subject: | Bug #79063 [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-224726@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: Closed
Type: Bug
Package: *Compile Issues
PHP Version: 7.4.1
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
I've applied an additional change in https://github.com/php/php-src/commit/68f6ab711323678382d2746e57358d3f57a3446b
to avoid dealing with openssl in the first place if curl is linked against openssl 1.1.
Previous Comments:
------------------------------------------------------------------------
[2020-01-06 09:31:44] nikic@php.net
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
------------------------------------------------------------------------
[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