Re: Pear Package Installer (Was HTML_QuickForm-2.0 (stable) Released)
| From: | Jesus M. Castagnetto | Date: | Thu, 16 May 2002 19:30:06 +0000 |
| Subject: | Re: Pear Package Installer (Was HTML_QuickForm-2.0 (stable) Released) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-6170@lists.php.net to get a copy of this message | ||
I have PHP and PEAR and related stuff installed on an NFS mounted disk, not on
/usr/local/*, so it should work OK w/ other paths.
Also, if you noticed, when running
% pear
You get:
Usage: pear [options] command [command-options] <parameters>
Type "pear help options" to list all options.
Type "pear help <command>" to get the help for the specified command.
Commands:
login
logout
config-show
config-get
config-set
install
uninstall
upgrade
package
package-info
package-list
package-validate
cvstag
list-installed
shell-test
remote-package-info
list-upgrades
list-remote-packages
and (in my case), when I run:
% pear show-config
I get:
Configuration:
==============
bin_dir /export/dredox1/devel_server/php/bin
doc_dir /export/dredox1/devel_server/php/share/php/doc/pear
ext_dir
/export/dredox1/devel_server/php/lib/php/extensions/no-debug-non-zts-20010901
master_server pear.php.net
password <not set>
php_dir /export/dredox1/devel_server/php/lib/php
preferred_state stable
username <not set>
verbose 1
My guess (had not tried) is that you can set config properties using "pear
set-config". Also "pear help options" give you some more info.
I am cc'ing this to pear-dev, so the maintainers of the pear installer can add
to this info or fix what I did not understood correctly ;-)
--- Tim Glen <tim@javelindigital.com> wrote:
> On 5/15/02 4:52 PM, "Jesus M. Castagnetto" <jcastagnetto@yahoo.com> wrote:
>
> > If you are getting code from CVS, you need to install it:
> >
> > cd HTML_QuickForm
> > pear package
> > (... a .tgz file will be generated ...)
> > pear install filename.tgz
> >
> > or you could just do:
> >
> > pear install HTML_QuickForm
> >
> > and the installer will pick the latest release from pear.php.net
> >
> > I think this info is in the PEAR manual, but I might be wrong.
>
> Ahh, yes. It is in the PEAR manual. Thanks. This brings up another question
> for me. Are you able to install Pear elements anywhere outside of
> /usr/local/lib/php? Basically, can you pass it an installdir or something
> like that? If I'm in a production environment, I'd rather test an upgrade to
> package with my code before making it the live version.
>
> tim
>
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
Research:
http://metallo.scripps.edu/
Personal: http://www.castagnetto.org/
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com