summaryrefslogtreecommitdiff
path: root/poc/poc02-compiling-cake/src/vendor/cake_1.1.20.7692/docs/INSTALL.txt
blob: 47698fc23f08962d88908fa38b467b1ecaa3a673 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
///////////////////////////////////////////////////////////////////////////////////////////////////////////
// +---------------------------------------------------------------------------------------------------+//
// + $Id: INSTALL.txt 4409 2007-02-02 13:20:59Z phpnut $
// + Last Modified: $Date: 2007-02-02 08:20:59 -0500 (Fri, 02 Feb 2007) $
// + Modified By: $LastChangedBy: phpnut $
// +---------------------------------------------------------------------------------------------------+//
///////////////////////////////////////////////////////////////////////////////////////////////////////////


In order use CakePHP you must first have a server that has all the required libraries and programs to run CakePHP:

Here are the requirements for setting up a server to run CakePHP:

   1. An HTTP server (like Apache) with the following enabled.
   2. PHP 4.3.2 or greater. Yes, CakePHP works great in either PHP 4 or 5.
   3. A database engine (right now, there is support for MySQL, MsSQL, Oracle, Sqlite, PostgreSQL and a wrapper for ADODB).

For development we can place the whole Cake installation directory inside the specified DocumentRoot.

   1. Unpack latest distribution in your DocumentRoot.
   2. Rename the directory to anything you like.
   3. Access the install.
      a. If mod_rewrite is working then http://www.example.com/my_directory
		1. If you receive a "Bad Request" add the trailing slash, http://www.example.com/my_directory/
   4. If mod_rewrite is not working you will need to remove the comment from app/config/core.php
      a. Around line 40: define ('BASE_URL', env('SCRIPT_NAME'));
      b. Then access using http://www.example.com/my_directory/index.php/pages to verify installation is working

For more information on installation see http://manual.cakephp.org/chapter/installing

Good resources for help.
* The Bakery :: Everything CakePHP (http://bakery.cakephp.org/)
* CakePHP Manual :: Your Rapid Development Cookbook (http://manual.cakephp.org/)
* CakePHP API :: Docblock Your Best Friend (http://api.cakephp.org/)
* CakePHP Google Group :: Community mailing list (http://groups-beta.google.com/group/cake-php)
* CakePHP(tm) :: The Rapid Development Framework (http://www.cakephp.org/)
* CakeForge :: Open Development for CakePHP (http://cakeforge.org/)
* CakePHP Trac :: For the Development of CakePHP (Tickets, SVN browser, Roadmap, Changelogs) (https://trac.cakephp.org/)
* Live chat about CakePHP (irc.freenode.net #cakephp)
   Web Interface to IRC (http://irc.cakephp.org/irc.htm)