RE: [PEAR-DEV] What about the include_path issue?
| From: | Lukas Smith | Date: | Wed, 19 Feb 2003 16:22:27 +0000 |
| Subject: | RE: [PEAR-DEV] What about the include_path issue? | ||
| References: | 1 | Groups: | php.pear.dev php.pear.general |
| Request: | Send a blank email to pear-dev+get-13480@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Lorenzo Alberton [mailto:l.alberton@quipo.it]
> Sent: Wednesday, February 19, 2003 5:16 PM
> To: pear-dev@lists.php.net
> Subject: Re: [PEAR-DEV] What about the include_path issue?
>
> >> 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?
There is no solution, which is why I favoured a different solution back
then, which had other disadvantages however.
Another draw back of the current reliance on include_path is the
performance loss due to a lot of searching in the file system.
Regards,
Lukas