CakePHP is one of the best PHP MVC framework which is purely inspired by Ruby on Rails. I worked on ROR for many years. So I know CakePHP has very similar ROR standards. Here In this article I will show you about CakePHP installation on linux box in very detailed information. I created the very basic blog application using CakePHP and It is free for download.
Cakephp installation and blog tutorial step by step
I am using the linux box for installation following commands will be useful for any linux installation. You can use the any linux OS like (Ubuntu, Fedora, Redhat, centos, etc… )
#pear channel-discover pear.cakephp.org
#pear remote-list -c cakephp
#pear install cakephp/CakePHP
Go to folder where you want to create the project
Create the project using following command
#cake bake project cakeblog
#chown purab:purab -R cakeblog
#chown apache:apache -R cakeblog/tmp
Add into the Plugin Dir
using following command and console:
#curl -sS https://getcomposer.org/installer | php
Create the composer.json file in cakeblog folder and add following lines in that file
After that execute the following command
#php composer.phar install
Open the webroot/index.php file and add the following lines at line no 82.
ROOT . DS . APP_DIR . '/Vendor/pear-pear.cakephp.org/CakePHP'
You can download my Blog code from Following Link.