mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Update regarding changed OpenSSL default config path
This commit is contained in:
parent
0aa3acc6c4
commit
59ac81f81e
3 changed files with 10 additions and 3 deletions
3
NEWS
3
NEWS
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
========================================
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue