Bug #79489 [Opn->Ver]: .user.ini does not inherit

From: Date: Mon, 20 Apr 2020 14:37:30 +0000
Subject: Bug #79489 [Opn->Ver]: .user.ini does not inherit
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-226688@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: Open +Status: Verified Type: Bug Package: CGI/CLI related Operating System: Windows PHP Version: 7.4.5 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#226688) next »