Hi Scott,

What you need is to set the include_path

http://www.php.net/manual/en/configuration.directives.php#ini.include-path

Greg
--
phpDocumentor
http://www.phpdoc.org

Scott Fletcher wrote:
Hi!

    I saw the Pear packages that are originally stored in
/usr/local/lib/php/****.  This occur when I compile PHP.  Problem is they
are different from the ones I downloaded from the pears.php.net website.
So, I enclosed those files into the website's directory, along with all
other website files.  That way, I can use those instead of the one from
/usr/local/lib/php/****.  However, I have a problem.  When I run the web
script, PHP still use the Pear files in /usr/local/lib/php/*** instead of
the one I use along with the web files.  I tried the include and require
function but no luck.

Why is that? What workaround do I need on this?

FletchSOD

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to