Step 1) Download zip file from github cakephp releases
Step 2) Once you’ve got a fresh copy of CakePHP setup, open app/Config/core.php and change the value of 'Security.salt' and 'Security.cipherSeed' on line 225 and 230 .
Just change one character from both value.
Configure::write('Security.salt', 'DYhG93b0qyJfIxfs2guVoDubWwvniR2G0FgaC9mi');
Configure::write('Security.cipherSeed', '76859309657853542496749683645');
Step 3) Create database
Step 4) you can see file database.php.default in app/Config/ folder so just rename it to database.php and open that file and replace value according your database credential in $default variable.
public $default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'root',
'password' => 'root',
'database' => 'test',
'prefix' => '',
//'encoding' => 'utf8',
);
Step 2) Once you’ve got a fresh copy of CakePHP setup, open app/Config/core.php and change the value of 'Security.salt' and 'Security.cipherSeed' on line 225 and 230 .
Just change one character from both value.
Configure::write('Security.salt', 'DYhG93b0qyJfIxfs2guVoDubWwvniR2G0FgaC9mi');
Configure::write('Security.cipherSeed', '76859309657853542496749683645');
Step 3) Create database
Step 4) you can see file database.php.default in app/Config/ folder so just rename it to database.php and open that file and replace value according your database credential in $default variable.
public $default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'root',
'password' => 'root',
'database' => 'test',
'prefix' => '',
//'encoding' => 'utf8',
);
Step 5) Run your project on browser http://localhost/yourproject/
You will get output like below if everything is ok
No comments:
Post a Comment