RE: [PEAR-DEV] What about the include_path issue?

From: Date: Wed, 19 Feb 2003 16:29:36 +0000
Subject: RE: [PEAR-DEV] What about the include_path issue?
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13482@lists.php.net to get a copy of this message
To sum the problem up: 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
Oh, well... so it seems I'll have to struggle with my client's ISP to make them upgrade to PHP 4.3... It'll be hard... Thanks to all Lorenzo

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