|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42701 php4-cgi under fastcgi does not respect -d argument
Submitted: 2007-09-18 14:23 UTC Modified: 2007-10-02 11:52 UTC
From: apex_php at xepa dot nl Assigned:
Status: Wont fix Package: CGI/CLI related
PHP Version: 4CVS-2007-09-18 (snap) OS: debian
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: apex_php at xepa dot nl
New email:
PHP Version: OS:


 [2007-09-18 14:23 UTC] apex_php at xepa dot nl
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-02 11:52 UTC]
This was added to 5_2 and won't be backported to 4_4.
Upgrade to the supported branch.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Dec 01 06:01:23 2020 UTC