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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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 Dec 27 00:01:30 2024 UTC