Re: DB_DataObject, to work what do I need

From: Date: Sun, 08 Sep 2002 04:15:40 +0000
Subject: Re: DB_DataObject, to work what do I need
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-8933@lists.php.net to get a copy of this message
On Sat, 7 Sep 2002 23:34:25 -0500 "Peter J. Schoenster" <peter@schoenster.com> wrote: > On 8 Sep 2002 at 5:06, Pierre-Alain Joye wrote: > > > by default, pear is installed under > > /usr/local/lib/php for the script > > /usr/local/lib/bin/pear for the package manager > > Thanks for the response. > > I am developing on a box I do not own. 98% of the time I develop on boxes which usually have at > least 50 websites running on them. Most of these all share the same libraries. I cannot update > shared libraries. > With Perl, I can install modules locally, that gives me a *partial* control. Please, forget Perl for now. > I have NO direct control over the php.ini file. It seems that this file is telling pear and php > where to find things, even when run at the command line. If I could override that ..... ini_set function is available ? ini_set('include_path','.:/:/path/to/pear'); // where '/' is the root folder (if host runs with chroot) htacces file ? you can define ini_set in the root htaccess file. > Or have I misunderstood? Can a user (not root) on a linux system install a local version of > pear and make sure that php (the system php) use his local version of pear? I have a local version > of php files which I > have told php about via .htaccess but if a system file exists, I'm sure it will get used > and not my local version (which would be newer). PEAR is nothing else than php libraries, all you need is to set your include path to the pear folder. How is your actual config (include_path in php.ini) ? pa

« previous php.pear.dev (#8933) next »