Download Cakephp
https://github.com/cakephp/cakephp/downloads
Rename it to something like cake. Extract from .tar.gz files.
tar -xvzf cake
Put 'cake' folder inside your document root. For e.g. if your document root is /var/www/html, put the cake folder inside it. Then follow some guidelines below.
1. Give appropriate permission setting for your 'cake' folder.
2. Open /cake/app/config/core.php. Go to the line where security.salt is defined and change it to some other value. Also do the same for security.cipherSeed.
3. Rename database.default.php to database.php and provide appropriate database settings
Now, open your browser and go to http://localhost/cake.
If you do no see any color in the page, you might want to check two things. Go to /etc/httpds/conf/httpd.conf and
1. Search for mod_rewrite.so and check if LoadModule rewrite_module_modules modules/mod_rewrite.so is commented. If so, remove the comment.
2. Search for 'Options Indexed FollowSymLinks' and change 'AllowOverride None' to 'AllowOverride All' as below:
<Directory />
Options Indexed FollowSymLinks
AllowOverride All
</Directory>
Note: Make sure you make the change in 'Options Indexed FollowSymLinks' and not in 'Options FollowSymLinks'.
Finally, restart apache (/etc/init.d/httpd restart).
https://github.com/cakephp/cakephp/downloads
Rename it to something like cake. Extract from .tar.gz files.
tar -xvzf cake
Put 'cake' folder inside your document root. For e.g. if your document root is /var/www/html, put the cake folder inside it. Then follow some guidelines below.
1. Give appropriate permission setting for your 'cake' folder.
2. Open /cake/app/config/core.php. Go to the line where security.salt is defined and change it to some other value. Also do the same for security.cipherSeed.
3. Rename database.default.php to database.php and provide appropriate database settings
Now, open your browser and go to http://localhost/cake.
If you do no see any color in the page, you might want to check two things. Go to /etc/httpds/conf/httpd.conf and
1. Search for mod_rewrite.so and check if LoadModule rewrite_module_modules modules/mod_rewrite.so is commented. If so, remove the comment.
2. Search for 'Options Indexed FollowSymLinks' and change 'AllowOverride None' to 'AllowOverride All' as below:
<Directory />
Options Indexed FollowSymLinks
AllowOverride All
</Directory>
Note: Make sure you make the change in 'Options Indexed FollowSymLinks' and not in 'Options FollowSymLinks'.
Finally, restart apache (/etc/init.d/httpd restart).
No comments:
Post a Comment