On Wed, 19 Feb 2003 17:15:32 +0100
Lorenzo Alberton <l.alberton@xxxxxxxx> 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
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|