Re: What about the include_path issue?

From: Date: Wed, 19 Feb 2003 16:27:17 +0000
Subject: Re: What about the include_path issue?
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13481@lists.php.net to get a copy of this message
On Wed, 19 Feb 2003 17:15:32 +0100 Lorenzo Alberton <l.alberton@quipo.it> wrote: > >> To sum up the problem: > >> how can a user install and _use_ PEAR in an environment > >> where he has not access to php.ini, where safe_mode=ON > >> and ini_set() is disabled? And, of course, where he doesn't > >> have a directory which is added to include_path already? > >> > > > > In PHP 4.3.0 Stig added set/get_include_path() which is intended > > just for that. > > That's great... but what about PHP < 4.3.0 ? > Suppose the ISP doesn't want to upgrade yet? > How can an user use PEAR in the meanwhile, > without having to rewrite the include paths for > each class? Besides the get_include_path itself, the core PEAR is able to get PEAR path (include, config, data, bin) using the ENV variables. If everything go well, the win32 installer, go-pear console script will create them, on demand. hth pierre

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