Bug #79063 [NEW]: curl openssl does not respect PKG_CONFIG_PATH nor --with-openssl-dir

From: Date: Sat, 04 Jan 2020 14:50:00 +0000
Subject: Bug #79063 [NEW]: curl openssl does not respect PKG_CONFIG_PATH nor --with-openssl-dir
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224702@lists.php.net to get a copy of this message
From: naox at yum dot pl Operating system: PHP version: 7.4.1 Package: *Compile Issues Bug Type: Bug Bug description:curl openssl does not respect PKG_CONFIG_PATH nor --with-openssl-dir 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 bug report at https://bugs.php.net/bug.php?id=79063&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79063&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79063&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79063&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79063&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79063&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79063&r=support Expected behavior: https://bugs.php.net/fix.php?id=79063&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79063&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79063&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79063&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79063&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79063&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79063&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79063&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79063&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79063&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79063&r=mysqlcfg

« previous php.bugs (#224702) next »