Update regarding changed OpenSSL default config path

This commit is contained in:
Christoph M. Becker 2019-10-01 08:56:56 +02:00
parent 0aa3acc6c4
commit 59ac81f81e
3 changed files with 10 additions and 3 deletions

3
NEWS
View file

@ -18,6 +18,9 @@ PHP NEWS
. Fixed bug #78609 (mb_check_encoding() no longer supports stringable
objects). (cmb)
- OpenSSL:
. Changed the default config path (Windows only). (cmb)
- Standard:
. Fixed bug #78549 (Stack overflow due to nested serialized input). (Nikita)

View file

@ -690,6 +690,10 @@ PHP 7.4 UPGRADE NOTES
the INI directive opcache.cache_id. All processes with the same cache ID and
user share an OPcache instance.
- The OpenSSL default config path has been changed to
"C:\Program Files\Common Files\SSL\openssl.cnf" and
"C:\Program Files (x86)\Common Files\SSL\openssl.cnf", repectively.
========================================
13. Migration to pkg-config
========================================

View file

@ -14,11 +14,11 @@ phpinfo();
$info = ob_get_contents();
ob_end_clean();
preg_match(",Openssl default config .* (.*),", $info, $m);
preg_match(",Openssl default config [^ ]* (.*),", $info, $m);
if (isset($m[1])) {
var_dump(str_replace('/', '\\', strtolower($m[1])));
}
?>
--EXPECT--
string(28) "c:\usr\local\ssl\openssl.cnf"
--EXPECTF--
string(%d) "c:\program files%r( \(x86\)|)%r\common files\ssl\openssl.cnf"