php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: apex_php at xepa dot nl
New email:
PHP Version: OS:

 

 [2007-09-18 14:23 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-02 11:52 UTC] tony2001@php.net
This was added to 5_2 and won't be backported to 4_4.
Upgrade to the supported branch.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 06:01:32 2025 UTC