Quick and easy steps
Grab a copy of cakePHP from cakephp.org website
You can either create the new cakephp website in the root (http://localhost/) or by adding it as a subfolder (http://localhost/mycakesite/)
If you create it as a subfolder, then configure the appropriate path settings for linking images in the web pages.
Open /app/config.php and make the following modifications
- Modify the security salt value
- to disable debug messages
Open /app/config/database.php.default and rename it to /app/config/database.php. If you wanted only one database, then make the necessary setting changes to default_database array by providing database name, host name, user name and password. And you can comment the variable declaration for the test database call if you it isn’t necessary.
The following steps may be of help to use if you are going to create MySQL database and configure a user with a password for that database:
$ mysql -uroot -p
Enter the password.
$ create database newdb;
$ grant all on newdb.* to ‘newdbuser’@localhost identified by ‘newdbuser_password’;