Monday, July 20, 2015

install cakephp 3


Hi,

download CAKEPHP
download cakephp
install composer.phar from command line

go to your php directory
For wampp
wamp/bin/php/php(php version)
For xampp
xampp/php
  here you find your php.exe file

php -r "readfile('https://getcomposer.org/installer');" | php

run php composer.phar command for create project
php composer.phar create-project --prefer-dist cakephp/app mynewcakephp

copy and paste your mynewcakephp directory to wampp/www directory.

You must enable the intl extension to use CakePHP 3.0.9
Copy and paste icu*.dll files from your wamp/bin/php/php(php version)
to wamp/bin/apache/apache(apache version)
Restart your wamp services

Connect to your database
update your config/app.php  Datasources section with your database credentials.

Enjoy Cakephp 3.0.9 :)

0 comments:

Post a Comment