Laravel installation record

WBOY
Release: 2016-07-30 13:29:40
Original
918 people have browsed it

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
Copy after login

2, installation of Laravel

2.1, download dependency files

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

laravel new site
Copy after login

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

 The solution is:

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

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.

🎜 🎜
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!