Bug #78837 [NEW]: `--with-openssl=[DIR]` does not use [DIR]
| From: | pete at pragmatika dot net | Date: | Tue, 19 Nov 2019 14:43:22 +0000 |
| Subject: | Bug #78837 [NEW]: `--with-openssl=[DIR]` does not use [DIR] | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-223797@lists.php.net to get a copy of this message | ||
From: pete at pragmatika dot net
Operating system: Ubuntu 18.04 LTS
PHP version: 7.4.0RC6
Package: OpenSSL related
Bug Type: Bug
Bug description:
--with-openssl=[DIR] does not use [DIR]
Description:
------------
PHP 7.4.0RC6 does not appear to respect --with-openssl=[DIR] at
compile time.
I run an Ubuntu server with PHP 7.2.24, PHP 7.3.11 and PHP 7.4.0RC6,
primarily alongside Nginx via PHP-FPM. I compile PHP from source, and I
bake in the latest OpenSSL (1.1.1d at the time of writing) among other
things.
PHP 7.2 and 7.3 respects --with-openssl=[DIR] at compile time, but PHP
7.4,0RC6 does not. PHP 7.4.0RC6 uses the system-native version (1.1.1 at
the time of writing).
Test script:
---------------
PHP 7.2 compile flags (working as expected):
https://gist.github.com/petecooper/3bcf1da07f54abdca285491e3b27330f
PHP 7.3 compile flags (working as expected):
https://gist.github.com/petecooper/17e7a19d0c9fd8c0442cce1e96e2d113
PHP 7.4.0RC6 compile flags (reverts to system-native OpenSSL):
https://gist.github.com/petecooper/7a0356402028f32073d17d1949191790
Headline details from php -i on PHP 7.2, PHP 7.3 and PHP 7.4.0RC6:
https://gist.github.com/petecooper/a115319bf010cedfe8e4b0128ac95212
OpenSSL details from php -i on PHP 7.2, PHP 7.3 and PHP 7.4.0RC6:
https://gist.github.com/petecooper/cb655cdae51884f8ebf74a679f79376d
Expected result:
----------------
I expect --with-openssl=[DIR] to respect the known-good OpenSSL
library at the [DIR] location.
--
Edit bug report at https://bugs.php.net/bug.php?id=78837&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78837&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78837&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78837&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78837&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78837&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78837&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78837&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78837&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78837&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78837&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78837&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78837&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78837&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78837&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78837&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78837&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78837&r=mysqlcfg