Doc #66003 [NEW]: document PHP_VALUE and PHP_ADMIN_VALUE FCGI param for lighttpd
| From: | glen at delfi dot ee | Date: | Wed, 30 Oct 2013 14:14:46 +0000 |
| Subject: | Doc #66003 [NEW]: document PHP_VALUE and PHP_ADMIN_VALUE FCGI param for lighttpd | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-10567@lists.php.net to get a copy of this message | ||
From: glen at delfi dot ee
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:document PHP_VALUE and PHP_ADMIN_VALUE FCGI param for lighttpd
Description:
------------
http://www.php.net/manual/en/install.fpm.configuration.php
mentions that
you can pass PHP_VALUE and PHP_ADMIN_VALUE in nginx. it's possible in
lighttpd 1.4 as well as i already posted into bug:
https://bugs.php.net/bug.php?id=51595
proposed wording:
Example #3 set PHP settings in lighttpd.conf
setenv.add-environment += (
"PHP_VALUE" => "
pcre.backtrack_limit=424242
pcre.recursion_limit=99999
",
"PHP_ADMIN_VALUE" => "
open_basedir=/var/www/htdocs
",
)
It is important that you put each PHP.INI parameter on separate line,
the spacing does not matter, and you can use single quotes or double
quotes (double quotes need to be escaped as \")
this fastcgi param aka environment passing works for php-fcgi as well,
not only for fpm, but i don't know where else is this documented
--
Edit bug report at https://bugs.php.net/bug.php?id=66003&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66003&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66003&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66003&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66003&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66003&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66003&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66003&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66003&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66003&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66003&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66003&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66003&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66003&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66003&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66003&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66003&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66003&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66003&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66003&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66003&r=mysqlcfg