In this tutorial, I will explain cakephp1.3.x installation with ubuntu using apache2 and mysql
Step 1: Download packages. a)
sudo apt-get install php5-cli php5 php5-mysql apache2 mysql-server mysql-client
b)Download cakephp http://cakephp.org
Step 2: Configuration.Edit apache to be able to use cakephp
sudo vi /etc/apache2/sites-enabled/000-default
Look for :
<Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory>
Edit
AllowOverride None
to
AllowOverride All
. Save the file
Step 3: Enable apache rewrite
sudo a2enmod rewrite
Step 4: Restart apache
sudo /etc/init.d/apache2 restart
Step 5: Extract the downloaded cakephp archive and save it to /var/www/cake
tar -xvzf cakephp.x.x.tar.gz mv cakephp.x.x /var/www/cake
Step 6: Apply permissions to the cake folder
sudo chmod -R 777 /var/wwww/cake/app/tmp
Step 7: Edit database.php.default and renaming it to database.php in app/config/database.php.default
mv /var/www/cake/app/config/database.php.default /var/www/cake/app/config/database.php
Edit the parameters in the file according to your database config.
Step 8: Change your security salt values
sudo vi /var/www/cake/app/config/core.php
and edit the 'security salt' and 'cipher seed'.
Thats it. Enjoy using cakephp
Also you need to install php and 'CURL'. Install like this
sudo apt-get install php5-curl
and restart apache
Log in to post a comment.
In this tutorial, I will explain cakephp1.3.x installation with ubuntu using apache2 and mysql
Step 1: Download packages. a)
b)Download cakephp http://cakephp.org
Step 2: Configuration.Edit apache to be able to use cakephp
Look for :
Edit
to
. Save the file
Step 3: Enable apache rewrite
Step 4: Restart apache
Step 5: Extract the downloaded cakephp archive and save it to /var/www/cake
Step 6: Apply permissions to the cake folder
Step 7: Edit database.php.default and renaming it to database.php in app/config/database.php.default
Edit the parameters in the file according to your database config.
Step 8: Change your security salt values
and edit the 'security salt' and 'cipher seed'.
Thats it. Enjoy using cakephp
Also you need to install php and 'CURL'. Install like this
and restart apache