Re: Manual Installation - dropped? invalid? or good to
| From: | Aidan Lister | Date: | Sat, 27 Nov 2004 02:51:06 +0000 |
| Subject: | Re: Manual Installation - dropped? invalid? or good to | ||
| References: | 1 2 3 4 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-5229@lists.php.net to get a copy of this message | ||
I must say, that's a pretty damned fantastic Greg, well done.
"Greg Beaver" <cellog@php.net> wrote in message
news:41A6B4EC.3030404@php.net...
> Jim Tom Polk wrote:
>> AND -> Very much needed since a lot of people have very restrictive
>> hosting environments and when they first start to think of using PEAR,
>> they have to work in that environment. Once they see how much value there
>> is, if they have any sense, they will decide to seek a hosting
>> environment where they at least have access to the command line.
>
> I am currently involved in the exhaustive process of testing PEAR 1.4.0,
> and it will contain a HUGE improvement on this front: remote install.
>
> Since every hosting situation has full access to ftp, or it wouldn't work
> at all, PEAR relies on this.
>
> Basically, the way it works is you get a config file up to your host (pear
> create-config /path/to/home/pear pear.ini, then upload it), and then setup
> a new local copy of PEAR to mirror what you want online, as you used to
> do. However, for this local copy, create a new configuration and set your
> remote config
>
> $ pear config-set remote_config
> ftp://user:pass@ftp.yourhost.com/pear.ini
>
> Then, when you do
>
> $ pear install blah
>
> it will install both locally and using Net_FTP, it will upload all of the
> files to the remote location. uninstall also works.
>
> Advantages:
> 1) full dependency resolution
> 2) valid replacements are always performed
> 3) uninstall/install automatically upload/delete files
> 4) far less potential for error in the manual config for complex packages
>
> Disadvantages:
> 1) you have to either pass in the ftp config as a command-line option or
> store it in your local config file
> 2) not much else :)
>
>> I have encountered a huge resistance to PEAR because, unlike other DB
>> abstraction libs, there is not a simple download and upload. Of course,
>> as I try to point out, with the other DB abstraction libs, that is ALL
>> you get, while with PEAR, you can get a gigantic amount of solid code to
>> handle just about any situation that might come up in web developement.
>>
>> But people cannot see past the difficulty of the initial install, in so
>> many hosting enviroments.
>
> I am also addressing this for windows users. I think unix is really easy
> to get PEAR installed, since compiling PHP has a fully functional pear
> installation built in.
>
> Windows users currently must run go-pear.bat before they can use pear.
> However, due to enhancements in the way .bat files work in win2000+, it is
> possible to run pear right out of the box. I have to do some extensive
> testing, but it will be in 1.4.0
>
> Greg