User Tools

Site Tools


guides:install:pear

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

guides:install:pear [2009/08/21 17:47]
guides:install:pear [2009/08/21 17:47] (current)
Line 1: Line 1:
 +====== Pear ======
 +
 +
 +** Installing Pear Modules in CentOS **
 +
 +**Install** pear and all its modules by:
 +
 +  yum install php-pear*
 +
 +**Update** to latest version of pear by:
 +
 +  pear channel-update pear.php.net
 +  pear upgrade pear
 +
 +Note: Might need to force upgrade by:
 +  pear upgrade --force pear
 +
 +**Upgrade all** pear packages by:
 +
 +  pear upgrade-all
 +
 +**Install individual** pear modules first by trying yum for example:
 +
 +  yum install php-pear-PHPUnit
 +
 +or by **pear install**:
 +
 +  pear install -a phpunit/​PHPUnit
 +
 +
 +Note: When installing PHPUnit makes sure you install php-xml by yum first
  
guides/install/pear.txt · Last modified: 2009/08/21 17:47 (external edit)