[PHP] laravel5.5 搭建流程
1、nginx 配置
server {
listen 80;
server_name laravel5-test.d.com;
charset utf-8;
location / {
root D:/***/www/test/laravel55-test/public;
index index.php index.html index.htm;
}
location / {
try_files $uri $uri/ /index.php?$query_string;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
location ~ \.php$ {
root D:/***/www/test/laravel55-test/public;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
2、composer install
3、php artisan key:generate
参考:
https://blog.csdn.net/jimliu004/article/details/45154981
https://blog.csdn.net/qq_25615395/article/details/79554863
最新文章
- QR code 扩展生成二维码
- java中的权限修饰符的理解
- HashTable 简述
- 代码演示 .NET 4.5 自带的 ReadonlyCollection 的使用
- 记Flume-NG一些注意事项(不定时更新,欢迎提供信息)
- Scanner 和 String 类的常用方法
- P1541 乌龟棋
- [wikioi]装箱问题
- 九度OJ 1525 子串逆序打印 -- 2012年Google校园招聘笔试题目
- win32程序中简单应用mfc
- google在线測试练习题1
- 阿里云ECS每天一件事D4:安装mysql5.5.40
- AngularJS中使用的表单验证
- Codeforces Round #541 (Div. 2)题解
- JavaScript字符集
- Win10+Ubuntu 二三事
- requests SSLError: hostname 'ccc.xxx.com' doesn't match '*.b0.upaiyun.com'
- 解决Eclipse中DDMS一直打印输出Connection attempts的问题
- python 文本特征提取 CountVectorizer, TfidfVectorizer
- js判断只能输入数字或小数点
热门文章
- Python参数类型以及实现isOdd函数,isNum函数,multi函数,isPrime函数
- vim 下修改tab键为四个空格
- 洛谷 P2602(数位DP)
- PVANET: Deep but Lightweight Neural Networks for Real-time Object Detection
- [IDA]系统注释给改掉
- 动态SQL屏幕条件选择(里面还有赋值的新语法)
- python连接sqlserver工具类
- ArrayList、LinkedList和Vector的源码解析,带你走近List的世界
- 这可能最简单的一种PS图片特效,零基础小白教程
- 移动端适配方案(rem+flex)