Re: Manual Install of packages

From: Date: Tue, 23 Aug 2005 14:31:11 +0000
Subject: Re: Manual Install of packages
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20538@lists.php.net to get a copy of this message
On 8/23/2005 4:24 PM, Massimiliano Arione spake the following words: > paul jager wrote: > >> I have a boss who wants me to do some php work with the pear classes. >> He requires that I have the packages installed manually into a >> seperate portable folder called "Includes". I guess I just add the >> path to that folder in the include_path variable in php.ini on the >> server. But, I am not sure how I am supposed to leave all the folders >> in the Includes folder after I extract the packages. > > > You need to add the path (to include_path) just in the same way the PEAR > path is added. So, to follow your example, the path you need to add is > > [path_to_manually_installed_pear]/PEAR-1.3.6/PEAR-1.3.6 > > if you don't want to modify all your includes and requires. A manual unpacking of the packages is rather difficult, because more and more packages are using installer magic to replace strings inside the package or to move files around in the folders. So I would strongly recommend against doing it manually. Rather install locally and copy the pear installation to your includes path. That's how I do it when I package an application for distribution. However, adding the include path is a good idea however you install it. :) Klaus

« previous php.pear.general (#20538) next »