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
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: 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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 12:01:33 2025 UTC