Bug #2026: include_path is ignored in command line
| From: | ezran at goshen dot edu | Date: | Tue, 10 Aug 1999 21:58:37 +0000 |
| Subject: | Bug #2026: include_path is ignored in command line | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9735@lists.php.net to get a copy of this message | ||
From: ezran@goshen.edu
Operating system: linux 2.2.5
PHP version: 3.0.11
PHP Bug Type: Parser error
Bug description: include_path is ignored in command line
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>