|
Posted by Andy Hassall on 09/14/05 01:57
On Tue, 13 Sep 2005 14:54:37 -0500, David <martindb@sbcglobal.net> wrote:
>I have code that brings in the Pear DB
>
>require_once 'DB.php';
>
>However, there is an include in the DB.php for the PEAR.php file, and
>the system does not appear to be able to locate that file. The
>PHP.ini has
>
>include_path = ".;c:\php\includes;c:\php\includes\Pear"
>
>PHP appears to use this dir. search path for the DB.php but not the
>internal Pear.php!
>
>I can force the include but changing it to a full path, but this is
>not the best option.
>
>Any ideas as to the root cause of this issue?
What error do you get?
Are you sure it's picking up DB.php from c:\php\includes\Pear and not another
path?
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|