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**:
 +
 +<code>
 +aptitude -y install php-pear
 +pear update-channels
 +pear upgrade-all
 +</code>
 +
 +**Gentoo:**
 +
 +<code>
 +wget http://pear.php.net/go-pear.phar
 +php go-pear.phar
 +</code>
 +
 +Install base packages:
 +
 +<code>
 +pear install Mail Mail_Mime Net_SMTP
 +</code>
 +
 +==== Install PEAR packages ====
 +
 +Install packages needed by development environments:
 +
 +<code>
 +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
 +</code>
 +
  

Navigation
QR Code
QR Code amp_stack_php_configuration (generated for current page)