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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
28 + 17 = ?
Subscribe to this entry?

 
 [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: Sat Apr 20 04:01:28 2024 UTC