Req #64484 [Opn->Sus]: [feature request] second auto_prepend_file

From: Date: Tue, 20 Aug 2019 20:18:47 +0000
Subject: Req #64484 [Opn->Sus]: [feature request] second auto_prepend_file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222331@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64484&edit=1 ID: 64484 Updated by: cmb@php.net Reported by: spamik at yum dot pl Summary: [feature request] second auto_prepend_file -Status: Open +Status: Suspended Type: Feature/Change Request Package: *General Issues PHP Version: 5.4.13 Block user comment: N Private report: N New Comment: This feature (request) requires the RFC process[1]. Feel free to start it anytime! [1] <https://wiki.php.net/rfc/howto> Previous Comments: ------------------------------------------------------------------------ [2013-03-22 15:01:45] reeze@php.net If you need the second auto_prepend_file, then you might want the third. You could set auto_prepend_file to your administrate file and include a fixed user file path if it exits. ------------------------------------------------------------------------ [2013-03-22 04:30:12] spamik at yum dot pl Description: ------------ There is need for second auto_prepend_file for administrative purposes (for example hosting providers). It would allow users to still user auto_prepend_file and hosting to use its own. Example uses: a) $_ENV['APPLICATION_ENV'] = $_SERVER["REDIRECT_APPLICATION_ENV"]; (because apache dont pass env to fastcgi, instead it passes it into fastcgi protocol) b) setting open_basedir (it can't be relaxed later on since php 5.3) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64484&edit=1

« previous php.bugs (#222331) next »