My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Install  

Phase-Deploy, Featured
Updated Jun 17, 2009 by jason.t....@gmail.com

sierra-php Installation

Install from source archive

  1. Download and extract the latest version of the framework from http://code.google.com/p/sierra-php/downloads/list (e.g. sierra-php-1_x_x.tgz)
  2. Configure the framework: shell> php /path/to/sierra-php/bin/sra-quick-install.php
    • Note: this will install the framework using the most common options. To customize your installation use the sierra-php installer: shell> php /source/to/sierra-php/bin/sra-installer.php and select the Configure framework option

Install using rpm

When installing using the rpm, the framework is automatically installed to /var/www/sierra

  1. Download rpm and install rpm
  2. If you want to fine tune your framework settings use the sierra-php installer: shell> /source/to/sierra-php/bin/sra-installer.php and select the Configure framework option

Install from subversion

  1. svn checkout http://sierra-php.googlecode.com/svn/trunk/ sierra-php
  2. Configure the framework: shell> php /path/to/sierra-php/bin/sra-quick-install.php
    • Note: this will install the framework using the most common options. To customize your installation use the sierra-php installer: shell> php /source/to/sierra-php/bin/sra-installer.php and select the Configure framework option

Installing an application

Once the framework has been installed and configured, you can set up your first application also using the installer. To do so, follow these steps:

  1. Start the installer: shell> /path/to/sierra-php/bin/sra-installer.php
  2. Select the Configure application option
  3. Select Install new application
  4. Select Install new application again
  5. Provide the desired application settings

Notes

  • Use of PHP memory caching is also highly recommended (but not required). The Pecl APC Extension works well and is easy to install on RedHat/CentOS (yum install php-pecl-apc). xcache and eAccelerator are both slightly faster (about 10-15%)
  • If you plan to use any of the image manipulation features provided by sierra/lib/model/SRA_FileAttribute.php, you should also install the ImageMagick package
  • php-readline is highly recommended if you intend to use the sierra-php CLI
  • disabling selinux for Apache may be required depending on the types of things you are doing in your application:
  • setsebool -P httpd_disable_trans 1
    vi /etc/selinux/targeted/booleans
      ADD: httpd_disable_trans=1
    service httpd restart

Sign in to add a comment
Powered by Google Project Hosting