Prev | Current Page 383 | Next

W. Jason Gilmore

"Beginning PHP and MySQL: From Novice to Professional"

0.0RC1)
pear/Auth can optionally use package "pear/Auth_RADIUS"
pear/Auth can optionally use package "pear/Crypt_CHAP" (version >= 1.0.0)
pear/Auth can optionally use package "pear/File_SMBPasswd"
pear/Auth can optionally use PHP extension "imap"
pear/Auth can optionally use PHP extension "vpopmail"
downloading Auth-1.3.0.tgz ...
Starting to download Auth-1.3.0.tgz (39,759 bytes)
..........done: 39,759 bytes
install ok: channel://pear.php.net/Auth-1.3.0
CHAPTER 11 ?–  PEAR 319
As you can see from this example, many packages also present a list of optional
dependencies that if installed will expand the available features. For example, installing
the File_SMBPasswd package enhances Auth??™s capabilities, enabling it to authenticate
against a Samba server. Enabling PHP??™s IMAP extension allows Auth to authenticate
against an IMAP server.
Assuming a successful installation, you??™re ready to begin using the package.
Automatically Installing All Dependencies
Later versions of PEAR will install any required package dependencies by default.
However you might also wish to install optional dependencies. To do so, pass along
the -a (or --alldeps) option:
%>pear install -a Auth_HTTP
Manually Installing a Package from the PEAR Web Site
By default, the PEAR Package Manager installs the latest stable package version. But
what if you were interested in installing a previous package release, or were unable to
use the Package Manager altogether due to administration restrictions placed on a
shared server? Navigate to the PEAR Web site at http://pear.


Pages:
371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395