php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #64484 [feature request] second auto_prepend_file
Submitted: 2013-03-22 04:30 UTC Modified: 2019-08-20 20:18 UTC
From: spamik at yum dot pl Assigned:
Status: Suspended Package: *General Issues
PHP Version: 5.4.13 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: spamik at yum dot pl
New email:
PHP Version: OS:

 

 [2013-03-22 04:30 UTC] 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)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-03-22 15:01 UTC] 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.
 [2019-08-20 20:18 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2019-08-20 20:18 UTC] cmb@php.net
This feature (request) requires the RFC process[1].  Feel free to
start it anytime!

[1] <https://wiki.php.net/rfc/howto>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC