Differences
This shows you the differences between two versions of the page.
— | amp_stack_php_configuration [2015/06/01 21:32] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== AMP Stack: PHP Configuration ====== | ||
+ | |||
+ | * [[AMP Stack]] | ||
+ | ==== PEAR Installation ==== | ||
+ | |||
+ | Download PEAR and install: | ||
+ | |||
+ | **Ubuntu**: | ||
+ | |||
+ | < | ||
+ | aptitude -y install php-pear | ||
+ | pear update-channels | ||
+ | pear upgrade-all | ||
+ | </ | ||
+ | |||
+ | **Gentoo:** | ||
+ | |||
+ | < | ||
+ | wget http:// | ||
+ | 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/ | ||
+ | pear install phpunit/ | ||
+ | pear install phpunit/ | ||
+ | pear install phpunit/ | ||
+ | pear install phpunit/ | ||
+ | </ | ||
+ | |||