Re: Installing PEAR on machines without internet access.

From: Date: Sat, 21 Jun 2008 22:45:52 +0000
Subject: Re: Installing PEAR on machines without internet access.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-275775@lists.php.net to get a copy of this message
Lester Caine wrote: > I've been going through the hoops documenting installation and recovery > notes for my customer sites. The majority of these run local web > services with no internet access from the servers, so with the > increasing reliance on PEAR extensions, I'm looking to the correct way > to 'install' PEAR packages. > > Currently I just clone the PEAR directory from another machine. Is this > the only way ? This will work if and *only* if the paths are the same on the destination machine. If so, this works fine. Otherwise, you can install PEAR directly just as PHP does, using install-pear-nozlib.phar, check out the pear/ directory in your unix-based PHP distribution for the Makefile.frag that shows usage. After PEAR is installed, you can install packages directly from tarball via the command-line. pear install Package-1.2.3.tgz Greg P.S. PEAR questions are best asked on pear-general@lists.php.net, the best support for PEAR is on that list.

« previous php.general (#275775) next »