Downloading & Installing Recess
Prev Chapter 2. Installing Recess Next

Downloading & Installing Recess

Recess can be downloaded from the Recess PHP Framework Web Site.

For the Edge Development branch the Recess Framework source tree is hosted at GitHub at http://github.com/recess/recess.

Figure 2.1. Steps to Install Recess

  1. Unzip contents into your web documents path (i.e. public_html)

  2. On a development machine make these directories writeable by PHP:

    • apps/

    • data/temp/

    • data/sqlite/

  3. Open recess-conf.php and set RecessConf::$defaultDatabase

    • If using MySQL: Uncomment the ‘mysql:...’ line and fill in DBNAME/USER/PASS

    • If using Sqlite: Uncomment the ‘sqlite:...’ line and name the database

  4. Do you have mod_rewrite?

    • Yes: Open your browser to the location you unzipped

    • No: Open your browser to the location you unzipped followed by index.php

  5. If you see “Welcome to Recess!” we’re ready to rock.

  6. The URL you are currently at will be referenced {$installUrl}


Installing to Lighttpd

Recess makes use of .htaccess files to protect application code on Apache servers. Lighttpd does not make use of Apache style .htaccess but instead has a centralized configuration file. The following $HTTP["url"] settings have been used to secure Recess on a lighttpd server:

Example 2.1. lighttpd configuration settings

-- protect the default source code layout under Lighttpd
$HTTP["url"] =~ "^/recess/|^/plugins/|^/data/|^/apps/" {
        url.access-deny = ("")
        $HTTP["url"] =~ "/public/" {
                url.access-deny = ("~",".inc")
        }
}				
				


Prev Up Next
Chapter 2. Installing Recess Home Recess Release Log