18 July 2008

Setup AMP and Cake

Download WAMP from http://www.wampserver.com/
Using WampServer 2.0c that includes:-

Apache 2.2.8
MySQL 5.0.51b
PHP 5.2.6


Enable mod_rewrite in Apache
Set a password to MySQL

$ mysqladmin -r root password NEWPASSWORD


Edit config.inc.php in phpMyAdmin, update:-

$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'NEWPASSWORD';


Download Cake PHP from http://www.cakephp.org/
Using CakePHP 1.2.0.7296 RC2.

For development, point DocumentRoot to /path/to/phpcake/root/directory/
eg. /var/www/project-cake/

For live implementation, point DocumentRoot to /path/to/phpcake/root/directory/
eg. /var/www/project-cake/app/webroot/

No comments: