com php-src: Fix #79884: PHP_CONFIG_FILE_PATH is mean ingless: NEWS win32/build/config.w32.h.in
| From: | Christoph Michael Becker | Date: | Thu, 23 Jul 2020 13:39:22 +0000 |
| Subject: | com php-src: Fix #79884: PHP_CONFIG_FILE_PATH is mean ingless: NEWS win32/build/config.w32.h.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-112341@lists.php.net to get a copy of this message | ||
Commit: 15efb96d4ce8003cca1c5fdcda4488c1827065d4
Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 22 Jul 2020 10:48:15 +0200
Parents: 6b99a8be4d3adef95eece9e84395966694bb1cec
Branches: PHP-7.3 PHP-7..4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=15efb96d4ce8003cca1c5fdcda4488c1827065d4
Log:
Fix #79884: PHP_CONFIG_FILE_PATH is meaningless
It does not make sense to make assumptions about
PHP_CONFIG_FILE_PATH
during build time, since that value is never used during run time on
Windows. Since there is no --with-config-file-path on Windows
either, we define PHP_CONFIG_FILE_PATH as "".
Bugs:
https://bugs.php.net/79884
Changed paths:
M NEWS
M win32/build/config.w32.h.in
Diff:
diff --git a/NEWS b/NEWS
index 8ce99e9895..92a173dfac 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? ????, PHP 7.3.22
+- Core:
+ . Fixed bug #79884 (PHP_CONFIG_FILE_PATH is meaningless). (cmb)
+
?? ??? ????, PHP 7.3.21
- Apache:
diff --git a/win32/build/config.w32.h.in b/win32/build/config.w32.h.in
index b641c39f5f..0cf8a11959 100644
--- a/win32/build/config.w32.h.in
+++ b/win32/build/config.w32.h.in
@@ -9,7 +9,7 @@
#define NTDDI_VERSION 0x06010000
/* Default PHP / PEAR directories */
-#define PHP_CONFIG_FILE_PATH
(getenv("SystemRoot")?getenv("SystemRoot"):"")
+#define PHP_CONFIG_FILE_PATH ""
#define CONFIGURATION_FILE_PATH "php.ini"
#define PEAR_INSTALLDIR "@PREFIX@\\pear"
#define PHP_BINDIR "@PREFIX@"