Re: Installing PEAR on machines without internet access.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx, the
best support for PEAR is on that list.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux