第一步:下载Laravel GIT安装包 https://github.com/laravel/laravel
选择PHP版本对应安装包
第二步:打开项目根目录下面:composer.json
更换下载源
第三步:
composer install
第四步:根目录下copy .env
第五步:运行
php artisan key:generate
实现伪静态:
nginx
location / {
try_files $uri $uri/ /index.php?$query_string;
}
返回:Application key [base64:0n5Liu+N8hd4cnP3iclgXjy/d+3t8Jf7khnxMzNeBds=] set s
uccessfully.
安装完成