PHP 4.0 Bug #2086: include() does not find files in the include path

From: Date: Tue, 17 Aug 1999 13:34:36 +0000
Subject: PHP 4.0 Bug #2086: include() does not find files in the include path
Groups: php.dev 
Request: Send a blank email to php-dev+get-9919@lists.php.net to get a copy of this message
From: DevMail@flx.com Operating system: NT PHP version: 4.0 Beta 2 PHP Bug Type: Dynamic loading related Bug description: include() does not find files in the include path 1. make a test.inc file <% echo "test" %> in a directory in the include path 2. make a test.php file <% include("test.inc") %> in a *different* directory 3. browse test.php It gives a nice message, telling you the include path: Warning: failed opening 'top.inc' for inclusion (include_path='c:\inetpub\wwwroot\include') in C:\inetpub\wwwroot\default.htm on line 2 It works fine if I have the .inc file in the same directory. in my php.ini file I have include_path = c:\inetpub\wwwroot\include

« previous php.dev (#9919) next »