Table of Contents
AMP Stack: PHP Configuration
PEAR Installation
Download PEAR and install:
Ubuntu:
aptitude -y install php-pear pear update-channels pear upgrade-all
Gentoo:
wget http://pear.php.net/go-pear.phar php go-pear.phar
Install base packages:
pear install Mail Mail_Mime Net_SMTP
Install PEAR packages
Install packages needed by development environments:
pear upgrade-all pear install Archive_Tar pear install Console_Getopt pear install Log pear install Mail pear install Mail_Mime pear install Net_SMTP pear install Net_Socket pear install PEAR pear install PHP_CodeSniffer pear install Structures_Graph pear install XML_Util pear config-set auto_discover pear install pear.phpunit.de/PHPUnit pear install phpunit/DbUnit pear install phpunit/PHPUnit_Story pear install phpunit/PHP_Invoker pear install phpunit/PHPUnit_Selenium