Bug #2678: Problem with include_path
| From: | autodata at execpc dot com | Date: | Sun, 07 Nov 1999 23:04:03 +0000 |
| Subject: | Bug #2678: Problem with include_path | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12204@lists.php.net to get a copy of this message | ||
From: autodata@execpc.com
Operating system: Win NT Workstation
PHP version: 3.0.11
PHP Bug Type: Other
Bug description: Problem with include_path
Problem with include_path
Platform: Windows NT Workstation
Webserver: Apache Win32 1.3.9
Database: MySQL Win32 Ver 3.22.28
The include path in PHP3.INI is set to:
include_path=".;c:\obm\phplib"
However, when including the line ...
require("obmlib.inc");
... results in ...
Fatal error: Failed opening required 'obmlib.inc' in d:\obm\obm.php3 on line 13
The file "obmlib.inc" is located in the directory c:\obm\phplib.
When I hard-code the path ...
require("c:\obm\phplib\obmlib.inc");
...the script runs as intended.