Cakephp 3.0 installation in ubuntu -


how install cakephp-3.0 in ubuntu?

older version of cakephp don't have more installation steps. downloading cakephp folder , extract www root folder , started working on that. right in latest version of cakephp having installation steps. it?

cakephp installation requirement

  1. php 5.4 or greater
  2. mbstring extension package
  3. intl extension package

following additional steps cakephp 3.0 installation apart cakephp 3.0 manual, can helpful easy installation:

step 1:

download , install composer running following command

curl -s https://getcomposer.org/installer | php

step 2:

install intl , mbstring extension packages running following command

sudo apt-get install php5-intl sudo apt-get install mcrypt php5-mcrypt sudo apt-get install libapache2-mod-php5 

step 3:

edit /etc/php5/apache2/php.ini file , add following lines

file path : /etc/php5/apache2/php.ini

extension = mcrypt.so  extension = intl.so 

step 4:

restart apache server, can use below comment restart server

service apache2 restart 

step 5:

get new cakephp application running following comment (you can place project ever want. there no restricted have add our application code inside www root folder):

sudo php composer.phar create-project --prefer-dist -s dev cakephp/app [app_name] 

the above comment create 1 application relevant files required application.

step 6

make sure directories logs, tmp , subdirectories in cakephp installation writable web server (application folder).

step 7

execute following code, , using cakephp’s console run php’s built-in web server make our application available @ http://localhost:8765/

bin/cake server 

eg: application name "cakephp3_0" have run above comment inside application. cakephp3_0$ bin/cake server

the above code make running server , if want access project go url http://localhost:8765/

if want exit server use key ctrl+c

happy coding....:)


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -