- Install Apache Server, MySQL, PHP
sudo apt-get install apache2 mysql-server php5
- Download CakePHP 1.2
Go to http://cakephp.org and download latest cakephp. I downloaded cake_1.2.3.8166.tar.gz - Copy and extract to web root
Open your terminal where you put cakephp you just downloaded.sudo cp cake_1.2.1.8004.tar.bz2 /var/www/
cd /var/www
sudo tar -xvf cake_1.2.3.8166.tar.gz
sudo mv cake_1.2.3.8166 bulksms - Change tmp folder permisssion
sudo chmod -R 777 bulksms/app/tmp
- Enable mod-rewrite
sudo a2enmod rewrite
- Open file /etc/apache2/sites-enabled/000-default and change AllowOverride None to AllowOverride All
sudo vim /etc/apache2/sites-enabled/000-default
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from allto
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all - Restart Apache
sudo /etc/init.d/apache2 restart
- Open your browser and type address http://localhost/cakephp/ and you’ll see CakePHP message
Saturday, May 9, 2009
Installing CakePHP on Ubuntu
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment