Req #73477 [NEW]: Environmental Variables
From: smith_it2000 at yahoo dot com
Operating system: Ubuntu
PHP version: 7.0.13RC1
Package: FPM related
Bug Type: Feature/Change Request
Bug description:Environmental Variables
Description:
------------
Allow the easy programmatic setting of environmental variables for php
scripts in FPM.
Such that getenv('var') works.
It could work like this;
Specify a bash or php script in the pool config file, this script is run
once when php-fpm starts. The script can be used to set environmental
variables that are available to the php script when executed.
Do NOT want to set environmental variables in php-fpm config files. Want
the FPM environment to mirror the CLI environment.
--
Edit bug report at https://bugs.php.net/bug.php?id=73477&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73477&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73477&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73477&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73477&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73477&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73477&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73477&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73477&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73477&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73477&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73477&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73477&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73477&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73477&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73477&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73477&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73477&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73477&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73477&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73477&r=mysqlcfg
Thread (3 messages)
- smith_it2000 at yahoo dot com