"Cristian Marin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> There are two modes to solve this:
> - First when you are calling the file give the exact path from the file
you
> are calling to the DB.php
OK, I did...
require_once 'G:\etc\php\PEAR\DB.php';
This displayed nothing.
> - second, the 'include_path = ' is a php.ini property so is there you have
> to add the path to the DB.php
>
> The php try first to access the DB.php directly assuming the file is in
the
> same directory,
same directory as what?
the php executable or the calling script?
DB.php is in the dir as php.exe
> if it can't find him it will search the file into the paths
> defined in the include_path property. That's why you see the error that it
> can't find the file into the include_path.
> Try the first solution.
Thanks Cristian for the idea, but I should have given you what I had in my
INI to begin with...
That was the first thing I did...
include_path = ".;G:\etc\php\extensions;G:\etc\php\pear"
extension_dir = "G:\etc\php\extensions"
I thought if I placed the path to the PEAR files in the 'include_dir' value
all would work.
Nope.
It still wants 'C:\php4\pear'
:(
Thanks
Walter
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php