How to Install CakePHP on CentOS
CakePHP is an open source web framework which follows Model-View-Controller approach. It is written in PHP and distributed under the MIT license. It was started by a Polish programmer Michal Tatarynowicz in April, 2005. Its first version was released in May, 2006. In this tutorial, we will install CakePHP on CentOS.
Installation includes following steps.
1. Install CakePHP using composer
Execute the following command to install CakePHP on CentOS.
2. Edit httpd.conf file
Open httpd.conf file which is the main configuration file for Apache configuration with VI editor and replace the following code
With the following code
Start the Apache server by using following command.
3. Start the CakePHP Server
Run the binary executable file cake located inside /var/www/html/javatpoint/bin.
4. Access CakePHP on browser
We just need to type localhost:8765 in the browser's search bar to access CakePHP on browser.
Hence, we have installed and get started with CakePHP.