#42701 [NEW]: php4-cgi under fastcgi does not respect -d argument
| From: | apex_php at xepa dot nl | Date: | Tue, 18 Sep 2007 14:23:24 +0000 |
| Subject: | #42701 [NEW]: php4-cgi under fastcgi does not respect -d argument | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-117651@lists.php.net to get a copy of this message | ||
From: apex_php at xepa dot nl
Operating system: debian
PHP version: 4CVS-2007-09-18 (snap)
PHP Bug Type: CGI related
Bug description: php4-cgi under fastcgi does not respect -d argument
Description:
------------
when running php4-cgi via fastcgi using a bash script that
exec's the php4-cgi binary the -d (define) argument is not respected.
Reproduce code:
---------------
-- start script --
exec /usr/bin/php4-cgi -d include_path='.:/tmp/:/usr/share/php'
Expected result:
----------------
include_path to be changed for the php4-cgi process
Actual result:
--------------
include_path not changed, and is still the same as the php.ini file used
-- other tests --
when running the same binary on the commandline (ie not via fastcgi)
include_path is changed
when running php5-cgi in above configuration include_path is changed
--
Edit bug report at http://bugs.php.net/?id=42701&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42701&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42701&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42701&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42701&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42701&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42701&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42701&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42701&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42701&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42701&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42701&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42701&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42701&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42701&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42701&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42701&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42701&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42701&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42701&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42701&r=mysqlcfg