|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2026 include_path is ignored in command line
Submitted: 1999-08-10 17:58 UTC Modified: 1999-08-10 18:00 UTC
From: ezran at goshen dot edu Assigned:
Status: Closed Package: Parser error
PHP Version: 3.0.11 OS: linux 2.2.5
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: ezran at goshen dot edu
New email:
PHP Version: OS:


 [1999-08-10 17:58 UTC] ezran at goshen dot edu
when I run a php script through command line, require and include ignore functions the include_path that I devined in php3.ini.

I have tried this apache module and in CGI mode.

Example code



echo "blah";


When I did "php /home/ezran/php/test.php3", it returns:

Failed opening '' for inclusion in
<b>home/ezran/php/test.php3</b> on line <b>3</b> <br>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-10 18:00 UTC] rasmus at cvs dot php dot net
Then you didn't compile the module version and the cgi version to look at the same php3.ini file
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 04 02:01:27 2023 UTC