Preinstalled Packages
Several packages are so popular that the developers started automatically including
them by default as of PHP version 4.0. A list of the currently included packages follows:
??? Archive_Tar: The Archive_Tar package facilitates the management of tar files,
providing methods for creating, listing, extracting, and adding to tar files. Additionally,
it supports the Gzip and Bzip2 compression algorithms, provided the
respective PHP extensions are installed. This package is required for PEAR to run
properly.
??? Console_Getopt: It??™s possible to create PHP programs that execute from the
command line, much like you might be doing with Perl or shell scripts. Often
the behavior of these programs is tweaked. The Console_Getopt package provides
a standard means for reading these options and providing the user with error
messages if the supplied syntax does not correspond to some predefined specifications
(such as whether a particular argument requires a parameter). This
package is required for PEAR to run properly.
??? PEAR: This package is required for PEAR to run properly.
Installer-Suggested Packages
If you run the PEAR installer (even if PEAR is already installed), you??™ll be asked whether
you??™d like to also install seven additional packages. A description of each package
follows. I suggest opting to install all of them, as all are quite useful:
CHAPTER 11 ?– PEAR 311
??? Mail: Writing a portable PHP application that is capable of sending e-mail may
be trickier than you think because not all operating systems offer the same facilities
for supporting this feature.
Pages:
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385