Re: manual installation of PEAR packages
| From: | Greg Beaver | Date: | Sat, 31 Jan 2004 22:28:03 +0000 |
| Subject: | Re: manual installation of PEAR packages | ||
| References: | 1 2 3 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-2285@lists.php.net to get a copy of this message | ||
You know what would be great is to allow ftp install.
In other words, with a given ftp user/pass and an install directory, all you need is to have PEAR read the .pearrc from the ftp directory, and then extract all files over there.
It wouldn't be for the faint of heart to implement this :)
The reason extracting locally and uploading is unlikely to work is that many PEAR packages use replacements, and that won't do well if they aren't replaced.
Greg
Pierre-Alain Joye wrote:
On Sat, 31 Jan 2004 16:16:51 -0500 Stephen Musgrave <stephen@musgrave.org> wrote:i have root on my development box, so i've felt the joy of the CLI! however, i deploy a lot of sites on shared hosts and therefore, the lowest common denominator is the only sure bet.Well, define your common denominator, build it under a specific folder and use the nice php script available in the php manual to recursivelly upload the PEAR tree on each host. Maybe five mins to add an array with the list of destination hosts and loop through it ;-).the one time i tried the 'Installation of a local PEAR copy on a shared host' tutorial, it failed on shared server. <shrug>Failed? can you be more explicit?i'd be happy to work with someone on this team to improve the 'Installation of a local PEAR copy on a shared host' and 'Manual installation' instructions. being somebody who really needs the whole picture described before i really grasp a concept, i feel my perspective would be helpful in making the instructions sensible to more people.You can contact me in private (no html mail, no attachment else > /dev/null without notice :) ). pierre