Bug #79489 [Ver->Csd]: .user.ini does not inherit
| From: | cmb@php.net | Date: | Tue, 12 May 2020 09:49:50 +0000 |
| Subject: | Bug #79489 [Ver->Csd]: .user.ini does not inherit | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-227007@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79489&edit=1
ID: 79489
Updated by: cmb@php.net
Reported by: steve at pcfive dot co dot uk
Summary: .user.ini does not inherit
-Status: Verified
+Status: Closed
Type: Bug
Package: CGI/CLI related
Operating System: Windows
PHP Version: 7.4.5
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=bdba0cd3d270d5c0511709e3b8e2e0cd6186a410
Log: Fix #79489: .user.ini does not inherit
Previous Comments:
------------------------------------------------------------------------
[2020-04-20 14:47:08] cmb@php.net
The following pull request has been associated:
Patch Name: Fix #79489: .user.ini does not inherit
On GitHub: https://github.com/php/php-src/pull/5423
Patch: https://github.com/php/php-src/pull/5423.patch
------------------------------------------------------------------------
[2020-04-18 13:48:17] steve at pcfive dot co dot uk
Description:
------------
Started with a XAMPP build
Switched to mod_fcgid
Apache 2.4.41, PHP 7.4.5
Specifically on Windows:
I found information in .user.ini files was not inheriting from parent directories, even when the
directory tree was underneath the document root.
I took a closer look at cgi_main.c it seems that \'s have been normalised to /'s at this
point. However DEFAULT_SLASH is set to \ so no parent paths are ever found.
I was able to make a workaround on my local build of PHP by changing both occurences of
DEFAULT_SLASH in cgi_main.c to the literal '/'
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79489&edit=1