Re: Pear Package...

From: Date: Mon, 15 Mar 2004 22:47:43 +0000
Subject: Re: Pear Package...
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-180501@lists.php.net to get a copy of this message
Aw! Never knew what the php's include_path is for... So, that fixed the problem by just setting it to the website directory. Thanks, FletchSOD "Evan Nemerson" <evan@coeus-group.com> wrote in message news:200403151435.22562.evan@coeus-group.com... > On Monday 15 March 2004 02:15 pm, Scott Fletcher wrote: > > Hi! > > 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 > > what does ini_get('include_path') return? Try doing ini_set('include_path', > '.:/usr/local/lib/php') > > php is probably searching for includes in /usr/local/lib/php first. Also, > consider reinstalling what you've download from pear using pear's cli; `pear > install DB`, for example > > > 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 > > -- > Evan Nemerson > evan@coeus-group.com > http://coeusgroup.com/en > > -- > "...the whole idea of revenge and punishment is a childish daydream. Properly > speaking, there is no such thing as revenge. Revenge is an act which you want > to commit when you are powerless and because you are powerless: as soon as > the sense of impotence is removed, the desire evaporates also. " > > -George Orwell

« previous php.general (#180501) next »