CakePHP is a framework and provides a robust base for your application, its very helpful for website development. We can easily install in few steps,

The below installation steps are how to install cackePHP2.5.1 version for specific cpanel user,


Download the package using wget command,

#  cd /root

#  wget

Extract the package and copy the files and directories into user root directory
#  tar -xf 2.5.4.tar.gz

#  cd cakephp-2.5.4/

#  cp -rf * /home/username/public_html/.

Change to user and file permission, make sure the /app/tmp directory in your cake installation is writable
#  chown -R username:username *

#  chmod -R 755 app/tmp


change the default string of Security.salt and Security.cipherSeed in core.php file
#  vim  /home/username/public_html/app/Config/core.php

Configure::write('Security.salt', 'H8dlDb0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi');

Configure::write('Security.cipherSeed', '97056409657453542097149688564');

or if you may get an Notice,

Notice (1024): Please change the value of 'Security.salt' in APP/Config/core.php to a salt value specific to your application. [CORE/Cake/Utility/Debugger.php, line 846]

update the line to

Configure::write('Security.salt', '');
Configure::write('Security.cipherSeed', '');

Create database and user name with password and give grant permission
#  mv database.php.default   database.php


        public $default = array(
                'datasource' => 'Database/Mysql',
                'persistent' => false,
                'host' => 'localhost',
                'login' => 'cakeloca_cakeuse',
                'password' => 'cake@user',
                'database' => 'cakeloca_newcake',
                'prefix' => '',
                //'encoding' => 'utf8',

Now, check your browser with your domain name,

Would you like to configure debug_kit also, just follow the steps,

Open the Config directory and install debug_kit package using git

Note: If you could not found git command can install using yum command  # yum install git
# cd /home/username/public_html/app/Config

# git clone git://

Initialized empty Git repository in /home/cakelocalbusines/public_html/app/Plugin/debug_kit/.git/
remote: Counting objects: 8252, done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 8252 (delta 10), reused 0 (delta 0)
Receiving objects: 100% (8252/8252), 1.81 MiB | 416 KiB/s, done.
Resolving deltas: 100% (3750/3750), done.

# cd /home/username/public_html/app/Config

open bootstrap.php file and uncommand the two lines,
# vim bootstrap.php

CakePlugin::loadAll(); // Loads all plugins at once
 CakePlugin::load('DebugKit'); //Loads a single plugin named DebugKit

Finally refresh the browser.