User Tools

Site Tools


php:pear

PEAR

PEAR is a PHP Extension and Application Repository. For details see PHP Pear.

Pear package management over http proxy

The pear package manager has to have access to internet for installing and updating packages.

To access internet over a proxy with authentication, make the following configuration setting:

pear config-set http_proxy http://<username>:<password>@<proxy address>:<proxy port>

Example:

pear config-set http_proxy http://wolfgran:boring@webproxy.example.net:8084

Managing packages

Update all packages:

pear upgrade-all

Install a new package / application

pear install <package name>

For more options enter

pear help
/srv/wiki.niwos.com/data/pages/php/pear.txt · Last modified: 2009/08/15 12:14 (external edit)