Bug #12314 Updated: include_path does not work
| From: | sniper@php.net | Date: | Mon, 20 Aug 2001 16:14:34 +0000 |
| Subject: | Bug #12314 Updated: include_path does not work | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63876@lists.php.net to get a copy of this message | ||
ID: 12314
Updated by: sniper
Reported By: tarique@sanisoft.com
Old Status: Feedback
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: WinME
PHP Version: 4.0.6
New Comment:
No feedback, can't reproduce.
Previous Comments:
------------------------------------------------------------------------
[2001-07-27 12:05:39] sniper@php.net
Have you tried adding the drive name to the paths? ie.
include_path=".;c:\my\own\includes\;d:\some\other\stuff\"
As this works for me on WinME just fine.
------------------------------------------------------------------------
[2001-07-24 05:01:01] tarique@sanisoft.com
OK! you can call this bug somewhat of a bummer the problems disappear if I use Win98. I found this
when I copied my setup to a different computer.
------------------------------------------------------------------------
[2001-07-23 08:40:24] tarique@sanisoft.com
Hmm... looks like very rarely do people really mean what they say in bug reports ;-)
OK! here goes
----------------------
Fatal error: Failed opening required 'countrylist2.inc'
(include_path='./;./inc/') in c:\program files\apache
group\apache\htdocs\bobp\latest\propertyadd.php3 on line 52
----------------------
I have also tried the following variants
include_path=".\;.\inc\"
include_path=".;.\inc\"
include_path="."
No settings works for anything between Version 4.0.3 to 4.0.6 However the same is working on a live
site running Ver4.0.2
and I dont know where to get Win binaries of 4.0.2 from .... ...
Cheers
------------------------------------------------------------------------
[2001-07-23 07:49:30] cynic@php.net
well, I use include_path on NT 4 and NT 5 without problems. since you did not do what the Dos &
Donts page tells you to do (include related php.ini settings in the report), I can only guess that
you forgot to put the value in quotes.
Anyway, could you try this?
php.ini:
include_path = "./;./inc/"
somewhere/test.php:
<? include 'include.inc' ?>
somewhere/inc/include.inc:
<? echo __FILE__ ?>
and load somewhere/test.php. If it gives you any error, paste it here, please.
Thanks!
------------------------------------------------------------------------
[2001-07-23 07:12:07] tarique@sanisoft.com
without being cynical and with all due respect - yes I have
read the do's and dont's of bug reporting
I also know that the similar bug has been reported for Win2K
and like I said - whatever the include_path setting it does
not work
for all practical purposes the setting in the php.ini is
include_path =
It would be nice if someone could let me know where to find
the Win binaries of PHP4.0.2 that is the latest confirmed
(of course by me) version which does not have this problem.
Also - under Linux V 4.0.6 works fine
Tarique
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=12314
Edit this bug report at http://bugs.php.net/?id=12314&edit=1