|  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
 [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: Sat Dec 09 09:01:27 2023 UTC