Wednesday, November 3, 2010

CakePHP: Installation

Go to http://www.cakephp.org/ and download the latest version of CakePHP (currently 1.3.11)

Extract to web root folder, upload and browse to the root page to test installation.

For shared hosting, the /.htaccess file and the /app/webroot/.htaccess file will need some modification for CakePHP to work.

Edit /.htaccess and within the <IfModule> block add RewiteBase / after RewriteEngine on. Repeat for /app/webroot/.htaccess

For 1and1.com shared hosting php4 is default unless you add the following line to the top of your .htaccess file:
AddType x-mapp-php5 .php
Save and upload the file.

No comments:

Post a Comment