Easy way to install cakephp:
Hello Readers. Here is small blog on how to install cakephp. Cakephp is very fast and easy to install. The minimun requirements to install cakephp are a web server and a copy of cakephp.
Step 1: Downloading the cakephp:
We can download the fresh copy of cakephp from the official website cakephp.org .Two types of files are available, one is zip file and another is .tar file. You can download either of the two file. Both are compressed files, .tar file is less in size than .zip file.
Step 2: Requirements:
a. HTTP server: ex- apache
b. PHP 5.3 or above
Step 3: Permissions
CakePHP uses the app/tmp directory for different operations. The directory app/tmp and all its subdirectories in your CakePHP installation are writable by the web server user.
Step 4: Set up
Setting up cakephp is very easy and simple. The three main installation types for
CakePHP are
a. Development: URLs in cakephp for the application include the CakePHP installation directory name, and less secure.
b. Production: It requires the ability to configure the web server’s document root, clean URLs, very secure.
c. Advanced: With some configuration, allows you to place key CakePHP directories in different parts of the filesystem.
Step5: Development:
a. Extract the file from the downloaded cakephp zip/tar folder. Rename the folder . open database file in app/config folder and change the name of your database, host and password.
b. Now open core.php in the same folder and change it.
c. Now give the read write permissions to your cakephp folder.
0 Comment(s)