Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
amp_stack_php_configuration [2013/10/11 17:48] 127.0.0.1 external edit |
amp_stack_php_configuration [2015/06/01 15:32] steve [phpcheck and CGP] |
||
---|---|---|---|
Line 2: | Line 2: | ||
* [[AMP Stack]] | * [[AMP Stack]] | ||
- | |||
- | - [[AMP Stack New User|New User]] | ||
- | - [[AMP Stack Filesystem and Permissions|Filesystem and Permissions]] | ||
- | - [[AMP Stack Apache Configuration|Apache Configuration]] | ||
- | - **PHP Configuration** | ||
- | - [[AMP Stack MySQL Configuration|MySQL Configuration]] | ||
- | |||
==== PEAR Installation ==== | ==== PEAR Installation ==== | ||
Line 33: | Line 26: | ||
pear install Mail Mail_Mime Net_SMTP | pear install Mail Mail_Mime Net_SMTP | ||
</code> | </code> | ||
- | ==== Yii Installation === | ||
- | Download and unpack source code: | ||
- | |||
- | <code> | ||
- | cd /var/www/client-www | ||
- | wget http://beandog.digitaltrike.com/yii-1.1.10.r3566.tar.gz | ||
- | tar zxf yii-1.1.10.r3566.tar.gz | ||
- | </code> | ||
- | |||
- | Have developers run this if they want to install it: | ||
- | |||
- | <code> | ||
- | su - client-www -c "yes yes | /var/www/client-www/yii-1.1.10.r3566/framework/yiic webapp /var/www/client-www/htdocs" | ||
- | </code> | ||
- | |||
- | Setup writable directories: | ||
- | |||
- | <code> | ||
- | newacl -g www-data /var/www/client-www/htdocs/assets | ||
- | newacl -g www-data /var/www/client-www/htdocs/client_files | ||
- | </code> | ||
==== Install PEAR packages ==== | ==== Install PEAR packages ==== | ||
Line 80: | Line 52: | ||
</code> | </code> | ||
- | ==== phpcheck and CGP ==== | ||
- | **Ubuntu** | ||
- | |||
- | <code> | ||
- | wget -q http://beandog.digitaltrike.com/apache/cgp -O /etc/apache2/conf.d/cgp | ||
- | service apache2 restart | ||
- | </code> |