Installing a PHP Pear Module

How do you install a PHP Pear Module?

pear install <module-name>

So – if you wanted to instal the Pear Pager module use:

pear install Pager

If the install was successful you shoudl see something to the extent of:

downloading Pager-2.4.8.tgz …
Starting to download Pager-2.4.8.tgz (36,122 bytes)
……….done: 36,122 bytes
install ok: channel://

Note that depending on your permission for your user account – you many need to include the sudo prompt.

Posted in , and tagged , , .

Leave a Reply

Your email address will not be published. Required fields are marked *