Laravel installation record, laravel installation record_PHP tutorial

WBOY
Release: 2016-07-13 09:44:10
Original
1079 people have browsed it

Laravel installation record, laravel installation record

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

According to: http://laravel.com/docs/5.1 official documentation, ready to be installed 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. Install Laravel

 2.1. Download dependency files

omposer global require "laravel/installer=~1.1"
Copy after login

 2.2. Install Laravel

laravel new site
Copy after login

Encountered during this process: -bash: laravel: command not found.

The solution is:

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

 

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1050494.htmlTechArticleLaravel installation record, laravel installation record system environment: ubuntu-14.10-server-i386(32) LAMP system default installation According to: http://laravel.com/docs/5.1 official documentation, ready to pass Comp...
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!