php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2118 -c option to cgi executable is not being recognized
Submitted: 1999-08-20 19:42 UTC Modified: 1999-09-08 10:02 UTC
From: djr at physics dot ucsb dot edu Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 2 OS: Linux 2.0.35
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: djr at physics dot ucsb dot edu
New email:
PHP Version: OS:

 

 [1999-08-20 19:42 UTC] djr at physics dot ucsb dot edu
It seems that the -c option to the cgi executable is not being recognized.
Specifically, if I run "./php -c/foodir -f./script.php" where
/foodir has a php.ini file with an "include_path=xxx" statement, I get errors
like
<b>Warning</b>:  Failed opening 'file1.php' for inclusion (include_path='yyy') in <b>script.php</b> on line <b>2</b><br>

The global php.ini file has an include_path='yyy' statement.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-05 21:46 UTC] riffraff at cvs dot php dot net
the command-line arguments are parsed too late. some of
them will have to be parsed earlier than php_module_startup
takes place.
 [1999-09-08 10:02 UTC] andrey at cvs dot php dot net
Fixed by riffraff.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 00:01:41 2024 UTC