CakePHP is my fav. framework, because of the ease and speed it offers, build web applications more quickly and easily, besides that, you are also more secure. The codes in CakePHP already in the test and get updated regularly. This is the advantage of making the web with the framework.
CakePHP using .htaccess to rewrite URLs in. Of course there must be a deal with the web server. Web servers that support the full CakePHP and easy to use is apache, because apache support .htaccess and mod_rewrite. Without these two elements, cakephp is not running perfectly.
Even so, cakephp give tips or special code that can run on all web servers. Including the nginx web server. I’ve run the cakephp on nginx, but it must make complex configuration.
But, with easyengine, you can run cakephp very easily and quickly. I was also surprised by this.
Easyengine is a python script created by rtcamp, a group of developers from India which allows us to install Nginx + PHP + MySQL and other easily and quickly. And everything is configured perfectly.
To install wordpress on easyengine, very easy and this article does not menjelasnnya. We will explains how to install cakephp on easyengine.
Say you’ve installed easyengine and ready to action. I use ubuntu14.04 64bit with 3GB of RAM. Now you’re ready.
1. Create new site with PHP+Mysql support
ee create site cakephp.cf --mysql
2. Download CakePHP latest version
wget https://github.com/cakephp/cakephp/archive/3.0.2.zip unzip 3.0.2.zip cp -rvf cakephp-3.0.2/* .
3. Update Permisssion
chmod -R 777 /var/www/cakephp.cf/htdocs/app/webroot/ chmod -R 777 /var/www/cakephp.cf/htdocs/app/tmp/
4. Update VHost file
edit root line becoms like this below
5. Restart your Nginx web server
And look at your domain. In this tutorial, I use cakephp.cf