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
Unzip contents into your web documents path (i.e. public_html)
On a development machine make these directories writeable by PHP:
apps/
data/temp/
data/sqlite/
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
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
If you see “Welcome to Recess!” we’re ready to rock.
The URL you are currently at will be referenced {$installUrl}
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")
}
}