Installing PHP Pear modules

To install a PHP Pear module, you will want to use this command…
pear install –alldeps [name of module]

The “–alldeps” switch makes it so that it installs all of the dependencies that the Pear module you want to install needs to function.

For instance, the Pear Mail module needs several dependencies to work so installing each of its dependencies would be a pain, so you use the –alldeps switch and it installs all of the dependencies in one step.


0 comments:

Post a Comment