Re: Pear Package...
| From: | Scott Fletcher | Date: | Mon, 15 Mar 2004 22:48:18 +0000 |
| Subject: | Re: Pear Package... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180502@lists.php.net to get a copy of this message | ||
Aw! Never knew what the php's include_path is for when I saw it in the
php.ini some times ago... So, that fixed the problem by just setting it to
the website directory.
Thanks,
FletchSOD
"Greg Beaver" <greg@chiaraquartet.net> wrote in message
news:40562FE5.9040203@chiaraquartet.net...
> 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