Bug #12314 Updated: include_path does not work
| From: | cynic@php.net | Date: | Mon, 23 Jul 2001 11:49:30 +0000 |
| Subject: | Bug #12314 Updated: include_path does not work | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-60740@lists.php.net to get a copy of this message | ||
ID: 12314
Updated by: cynic
Reported By: tarique@sanisoft.com
Status: Feedback
Bug Type: Dynamic loading
Operating System: WinME
PHP Version: 4.0.6
New Comment:
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!
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2001-07-23 06:30:02] cynic@php.net
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] tarique@sanisoft.com
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