php.net |  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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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

<?php

require('my_function.inc');

echo "blah";

?>

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

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




Patches

Pull Requests

History

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 07 17:01:28 2024 UTC