Home  >  Article  >  Backend Development  >  Laravel installation record

Laravel installation record

WBOY
WBOYOriginal
2016-07-30 13:29:40950browse

System environment: ubuntu-14.10-server-i386(32) LAMP system is installed by default

According to: http://laravel.com/docs/5.1 official document, ready to install through Composer

1. Install Composer.

Reference : Https: //getcomposer.org/download/

curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

2, installation of Laravel

2.1, download dependency files

omposer global require "laravel/installer=~1.1"
E
2.2, installation of Laravel

laravel new site

encountered in this process: -bash: laravel: command not found.

 The solution is:

export PATH="$PATH:~/.composer/vendor/bin"

The above introduces the Laravel installation record, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

🎜 🎜
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn