Home > Backend Development > PHP Tutorial > Laravel installation record

Laravel installation record

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-30 13:29:40
Original
999 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:
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
Latest Issues
Composer cannot install laravel
From 1970-01-01 08:00:00
0
0
0
Laravel Space/laravel-backup cannot be installed
From 1970-01-01 08:00:00
0
0
0
Laravel 5.1 Login laravel comes with it No more
From 1970-01-01 08:00:00
0
0
0
Why thinkphp has better performance than laravel?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template