Home > Backend Development > PHP Tutorial > Laravel 装配记录

Laravel 装配记录

WBOY
Release: 2016-06-13 12:24:09
Original
820 people have browsed it

Laravel 安装记录

系统环境:ubuntu-14.10-server-i386(32) LAMP 系统默认安装

根据:http://laravel.com/docs/5.1  官方文档,准备通过 Composer 安装

 

1、安装 Composer .

   参考:https://getcomposer.org/download/

   

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

  

2、安装Laravel

 

  2.1、下载依赖文件

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

  2.2、安装Laravel

laravel new site
Copy after login

  在这个过程中遇到:-bash: laravel: command not found。

  解决方法是:

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

  

 

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