How To Install Cakephp In Wamp
In this post nosotros will larn how to install & configure the CakePHP on localhost Wamp. I am using Wamp Server equally the web server but, it volition remain same in XAMPP & many other Apache Based web servers every bit well considering all those are build based on apache core. So, the configurations are mostly same as Wamp Server.
So what yous need to exercise is merely follow the steps given below in society to install CakePHP on localhost.
Step 1 : Get to CakePHP Official Website and Download updated Cake PHP and unzip the file.
Footstep 2 : Re-create the downloaded binder in wamp binder : C->www->wamp->(cakefolder)
Step iii : Now Become to (cakefolder)->app->Config->database.php.defult and rename it as database.php.Now you lot demand to make required changes in it.After the changes, the configuration setting await similar bellow.
course DATABASE_CONFIG {
public $examination = array(
public $default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'root',
'password' => '',
'database' => 'cakephp_project',
'prefix' => '',
//'encoding' => 'utf8',
);
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'root',
'password' => '',
'database' => 'cake_test',
'prefix' => '',
//'encoding' => 'utf8',
);
}
Footstep four : Open (cakefoler)->app->Config->cadre.php and alter the values of the Security.salt and Security.cipherSeed.
Default they were like,
Configure::write('Security.salt', 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi');
Configure::write('Security.cipherSeed', '76859309657453542496749683645');
Yous can change the code as per your preference. In this case am irresolute the code every bit bellow & save.
Configure::write('Security.salt', 'gk5454545fsdfUEsdfsbDsdh');
Configure::write('Security.cipherSeed', '54548785454521');
Stride 5 : Brand sure the (cakefolder)->tmp is writable and apache mod_rewrite is enabled.
Stride half-dozen : Open the browser and blazon : http://localhost/(cakefolder)/ and that's up.You're Done..!
If yous received above page that means you accept install & configure the CakePHP framework perfectly. Development on CakePHP Framework can be start now.Good luck with CakePHP.
Just…
In case if you don't get the effect every bit above that means you lot are having issue with mod_rewrite. You lot wil face the error of"URL rewriting is non properly configured on your server."
To overcome this event, follow the steps given in the Next Post.
Source: http://kelatebaru.blogspot.com/2013/07/how-to-install-cakephp-on-localhost-wamp.html
Posted by: edwardsretiould.blogspot.com

0 Response to "How To Install Cakephp In Wamp"
Post a Comment