Vous êtes sur la page 1sur 2

Installing cakePHP on Ubuntu (Articles) | The Bake... http://bakery.cakephp.org/articles/view/installing-...

CakePHP API Docs Bakery Live Forge Source Tickets Questions Login Register About CakePHP Donate

News Articles Code Articles

Installing cakePHP on Ubuntu
By Luke Mackenzie (lukemack) TUTORIALS APR 10, 2007

I use Ubuntu 6.10 Server with the LAMP package as my development server. Details
These instructions have not been tested outside of that environment but should work on other Ubuntu installations.
Version: 1.1.x
Installing Cake 1.1.x on Ubuntu 6.10 (with LAMP package installed - PHP5) Views: 32080
Comments (0)
1.Ensure mod-rewrite is enabled by running the following command:

sudo a2enmod rewrite Rating

3.33 by 3 Users
If mod-rewrite is not enabled, follow the on-screen instructions to install it.

2.Next, edit the site config file for which you want to enable mod-rewrite. This is likely to be /etc/apache2/sites-
Log in to add rating
available/default. Edit the file as root using your text editor of choice (try sudo Nano default)

3.Add the following entry:


Tags

AllowOverride All cake


cake ubuntu LAMP
make sure you format it as above, including the line breaks. Add it below the entry for /www/var. Add the top of the ubuntu
file, change the document root to:
lampp

/var/www/app/webroot
Log in to add tags

4.Restart apache using:

sudo /etc/init.d/apache2 force-reload

You should now be able to view http://localhost/ with the correct css formatting for the cake default page.

Login To Submit A Comment

1 of 2 09/22/2010 12:42 PM
Installing cakePHP on Ubuntu (Articles) | The Bake... http://bakery.cakephp.org/articles/view/installing-...

Latest Articles Latest Code Latest News Latest Comments

Session based pagination AJAX Helper with jQuery CakePHP 1.3.4 released Is it free

Wizard Component 1.2 Tutorial CustomFinds Behavior CakeFest 2010: Thats a wrap Cron Job is not working - Pls
help
Boost performance by removing Robust crypt functionality for use CakePHP 1.2.8 released
.htaccess PLUS multi-site with in CakePHP CakePHP 1.3.3 rainbow icing Frank's Multiple Display Field
VirtualDocumentRoot Wizard Component 1.2 edition released Solution

Using memcached to run your Very Newbie


Social media helper CakePHP 1.3.2 released
sessions Two calls
EpisodeCMS

© 2006-2008 Cake Software Foundation

2 of 2 09/22/2010 12:42 PM

Vous aimerez peut-être aussi