Deploying laravel - How to deploy laravel project to the server?
我想大声告诉你
我想大声告诉你 2017-05-16 16:54:28
0
4
902

Excuse me, how to deploy the laravel project to the server? What about things like
composer? I have no idea at all. Please give me a detailed explanation. I'm a newbie and I'd be very grateful!

我想大声告诉你
我想大声告诉你

reply all(4)
phpcn_u1582

First install composer, http://www.phpcomposer.com/
Run it in shell
composer create-project laravel/laravel 你的路径 版本

Give the storagefolder write permissions,
set pseudo-static:
nginx:

location / {
    try_files $uri $uri/ /index.php?$query_string;
}

apache:

Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
曾经蜡笔没有小新

Well, I have been in contact with laravel recently. Let me write about it. The answer is as follows:

Article tutorial:

Server environment setup:/a/1190000002955111

Server deployment laravel: /a/1190000002955120

Video tutorial:

Alibaba Cloud deploys laravel: https://laravist.com/series/something-that-a-little-helpful

composer series video: https://laravist.com/series/you-must-use-composer

Finally, the laravist site I wrote recently uses laravel, so I think I have a little experience.

Above

phpcn_u1582

https://laravel.tw/docs/5.1/installation Rarely see larave

小葫芦

CentOS7.x build lamp php7 environment and deploy laravel project

There is also [[Video] Deploy LNMP environment in ubuntu under Alibaba Cloud ESC (enable mysql remote and multi-domain name access) and configure laravel project][2]

Deploy LAMP under Ubuntu 14.04 (enable mysql remote and multi-domain name access) and configure the laravel project

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!