Introduction

CakePHP is open source for a PHP framework built around Model-View-Controller (MVC). We started to create a small application that would perform some basic Create, Read, Update, Delete (CRUD) operations on our database.

How to install

Step 1

To download CakePHP go to Framework.

If the CakePHP folder is already downloaded then start.

Put the download folder into the htdocs folder.

installation directory

Step 2

CakePHP folder run in xampp.



Step 3

How to remove the preceding error.

Path: C:\xampp\htdocs\cakephp_example\app\Config\core.php

error

To replace Security.salt and Security.cipherSeed key have a look at the following screen.

replacing keys

Again run CakePHP folder in xampp.



To get success run CakePHP in your system. We ae now setting the database.

C:\xampp\htdocs\cakephp_example\app\Config



And rename database.php.default to database.php.



Open database.php and set the database parameter like host name, username and database name.