Search code examples
phpubuntucakephplampcakephp-3.x

How to install cakephp 3.1.6 on LAMP


I want to install cakephp3 on ubuntu14.0.4 in lamp. I put cakephp3 folder in /var/www/ path. When I enter localhost/cakephp3/in browser, nothing is shown.

What should I do?


Solution

  • My error.log :

    127.0.0.1:59267] PHP Fatal error: You must enable the intl extension to use CakePHP. in /var/www/html/cakephp-3-1-6/config/bootstrap.php on line 38

    So

    install "intl" plugin:

    sudo apt-get install php5-intl
    

    and restart apache:

    sudo service apache2 restart
    

    And Try again in browser: localhost/cakephp3/

    It worked for me.