#42701 [Opn->WFx]: php4-cgi under fastcgi does not respect -d argument
| From: | tony2001@php.net | Date: | Tue, 02 Oct 2007 11:52:40 +0000 |
| Subject: | #42701 [Opn->WFx]: php4-cgi under fastcgi does not respect -d argument | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-118083@lists.php.net to get a copy of this message | ||
ID: 42701
Updated by: tony2001@php.net
Reported By: apex_php at xepa dot nl
-Status: Open
+Status: Wont fix
Bug Type: CGI related
Operating System: debian
PHP Version: 4CVS-2007-09-18 (snap)
New Comment:
This was added to 5_2 and won't be backported to 4_4.
Upgrade to the supported branch.
Previous Comments:
------------------------------------------------------------------------
[2007-09-18 14:23:24] apex_php at xepa dot nl
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 this bug report at http://bugs.php.net/?id=42701&edit=1