Happy Programming

Today we will learn how to install cakephp.

CakePHP Introduction:

CakePHP is an open source web application framework. It is written in PHP, modeled after the concepts of Ruby on Rails, and distributed under the MIT License.

CakePHP uses well-known software engineering concepts and software design patterns, as Convention over configuration, Model-View-Controller, ActiveRecord, Association Data Mapping and Front Controller.

Installation:

CakePHP is very easy to install using this guide. It can work on Microsoft IIS & LightHTTPD

Requirements:

  • HTTP Server. For example: Apache. mod_rewrite is preferred, but by no means required.
  • PHP 5.2.8 or greater.

CakePHP support following databases

  • MySQL (4 or greater)
  • PostgreSQL
  • Microsoft SQL Server
  • SQLite

Step1 Downloading CakePHP

You can donwload CakePHP from  here.

 

Step2 Extract the downloaded file the copy it to your server

  • For Linux Copy to: FileSystem/var/www/
  • For Windows Copy to C:/intepub/wwwroot/

Step3 Then Start Browser

Type URL localhost/tut i.e.(folder name)

Here we used ‘tut’ as folder name of our downloaded CakePHP code

You will see the following screenInstallation of CakePHP step by step

Step4 Now change the permissions of app/tmp Folder to writable by this all Warnings will be removed.

Step5 Now change the name of app/config/database.php.default to app/config/database.php and open the fileFind following code and change according to your database setting.

*Note: Create database first.

Step6 Now open the file app/config/core.php and find following code

Replace single character from both of the above values enclosed in single quotes with new character. Dont delete any character just replace.

Installation is almost done.

Make ensure that if graphics of your page are not showing then there is apache mod_rewrite disabled. Enable it by following in linux.


Then restart apache by following command

Enjoy Coding

Step by Step guide to: How to install CakePHP UG Programming
Happy Programming Today we will learn how to install cakephp. CakePHP Introduction: CakePHP is an open source web application framework. It is written in PHP, modeled after the concepts of Ruby on Rails, and distributed under the MIT License. CakePHP uses well-known software engineering concepts and software design patterns, as Convention over configuration,...
Happy Programming Today we will learn how to install cakephp. <strong>CakePHP Introduction:</strong> <b>CakePHP</b> is an open source web application framework. It is written in PHP, modeled after the concepts of Ruby on Rails, and distributed under the MIT License. CakePHP uses well-known software engineering concepts and software design patterns, as Convention over configuration, Model-View-Controller, ActiveRecord, Association Data Mapping and Front Controller. <strong>Installation:</strong> CakePHP is very easy to install using this guide. It can work on Microsoft IIS & LightHTTPD <strong>Requirements:</strong> <ul> <li>HTTP Server. For example: Apache. mod_rewrite is preferred, but by no means required.</li> <li>PHP 5.2.8 or greater.</li> </ul> CakePHP support following databases <ul> <li>MySQL (4 or greater)</li> <li>PostgreSQL</li> <li>Microsoft SQL Server</li> <li>SQLite</li> </ul> <strong>Step1 Downloading CakePHP</strong> You can donwload CakePHP from  <strong><a title="CakePHP download" href="https://github.com/cakephp/cakephp/tags" target="_blank">here.</a></strong>   <strong>Step2</strong> Extract the downloaded file the copy it to your server <ul> <li>For Linux Copy to: FileSystem/var/www/</li> <li>For Windows Copy to C:/intepub/wwwroot/</li> </ul> <strong>Step3 </strong>Then Start Browser Type URL localhost/tut i.e.(folder name) Here we used 'tut' as folder name of our downloaded CakePHP code You will see the following screen<a href="http://grasphub.com/wp-content/uploads/2013/01/Screenshot1.png"><img class="aligncenter size-large wp-image-614" alt="Installation of CakePHP step by step" src="http://grasphub.com/wp-content/uploads/2013/01/Screenshot1-1024x493.png" width="800" height="385" /></a> <strong><strong>Step4 </strong></strong>Now change the permissions of <tt>app/tmp</tt> Folder to writable by this all Warnings will be removed. <strong>Step5 </strong>Now change the name of app/config/database.php.default to app/config/database.php and open the fileFind following code and change according to your database setting. [crayon-5bca1f2cc731e303066713/] *Note: Create database first. <strong>Step6 </strong>Now open the file app/config/core.php and find following code <code> </code> [crayon-5bca1f2cc732b477224162/] Replace single character from both of the above values enclosed in single quotes with new character. Dont delete any character just replace. Installation is almost done. Make ensure that if graphics of your page are not showing then there is apache mod_rewrite disabled. Enable it by following in linux. <div id="comment-text-6"> [crayon-5bca1f2cc7331399234504/] Then restart apache by following command [crayon-5bca1f2cc7335042388290/] Enjoy Coding </div>