Today I will teach you to how to install CakePHP framework on Wamp Server means localhost. CakePHP is one of the MVC frameworks for PHP and CakePHP makes building web applications simpler, faster, while requiring less code. So the question is how you will install CakePHP. It’s quite simple you just have to follow these simple steps listed below.

Step 1 : Go to CakePHP Go to CakePHP Official Website and download the latest version of CakePHP and unzip the file.

Step 2 : Copy the downloaded folder in wamp www folder : C->wamp->www->(cakePHPfolder) (C is not mandatory just type in which drive your wamp server is installed)



Step 3 : Now Go to (cakePHPfolder)->app->Config->database.php.default and rename it as database.php. Now you need to make required changes in it. After the changes, the configuration setting look like bellow.

class DATABASE_CONFIG { public $default = array( 'datasource' => 'Database/Mysql', 'persistent' => false, 'host' => 'localhost', 'login' => 'root', 'password' => '123456', 'database' => 'cakephp_project', 'prefix' => '', //'encoding' => 'utf8', ); public $test = array( 'datasource' => 'Database/Mysql', 'persistent' => false, 'host' => 'localhost', 'login' => 'root', 'password' => '', 'database' => 'cake_test', 'prefix' => '', //'encoding' => 'utf8', ); }