The following include path on Windows ME works fine fo me with PHP 4.0.6:
include_path=".;d:\inetpub\scripts\php\pear";
Perhaps a problem with relative paths?
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> ID: 12314
> User updated by: [EMAIL PROTECTED]
> Reported By: [EMAIL PROTECTED]
> Status: Feedback
> Bug Type: Dynamic loading
> Operating System: WinME
> Old PHP Version: 4.0.6
> PHP Version: 4.0.6
> New Comment:
>
> 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
>
>
>
> Previous Comments:
> ------------------------------------------------------------------------
>
> [2001-07-23 07:49:30] [EMAIL PROTECTED]
>
> 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] [EMAIL PROTECTED]
>
> 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
>
>
>
> ------------------------------------------------------------------------
>
> [2001-07-23 06:30:02] [EMAIL PROTECTED]
>
> have you read the Do's & Don'ts? What's your include_path setting? (Copy
it here from your php.ini.)
>
> ------------------------------------------------------------------------
>
> [2001-07-23 05:48:57] [EMAIL PROTECTED]
>
> Hello,
>
> Just to let you know that include_path does not work at all under WinME
>
> So I just cant use require() or include(), it is not even defaulting to
"." i.e.; the current directory
>
> Cheers
> Tarique
>
> ------------------------------------------------------------------------
>
>
>
> Edit this bug report at http://bugs.php.net/?id=12314&edit=1
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]