Skip to content

LIUGUOFENG THE DARKEST HOUR IS THAT BEFORE THE DAWN

  • 首页
  • 作品
  • 笔记
  • 关于
  • 留言
  • 盒子
  • 首页
  • 作品
  • 笔记
  • 关于
  • 留言
  • 盒子
  • Home
  • ThinkPHP

ThinkPHP 5 Linux 服务器 Nginx 下无法匹配路由模式 404错误

十一月 27, 2017 Categories 学习笔记
location ~ .+\.php($|/) {
    fastcgi_pass    unix:/run/php/php7.0-fpm.sock;
    fastcgi_split_path_info ^((?U).+.php)(/?.+)$;
    fastcgi_param PATH_INFO $fastcgi_path_info;
    fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
    fastcgi_param    SCRIPT_FILENAME    $root$fastcgi_script_name;
    include        fastcgi_params;
}

via: http://www.thinkphp.cn/topic/40391.html

ThinkPHP 5 LNMP PHP 7 环境 服务器 Error 500 错误

十一月 27, 2017七月 04, 2018 Categories 学习笔记

ThinkPHP 5 部署在了LAMP/LNMP 环境上很有可能出现 Error 500 的情况,这个时候需要开启 php 错误提示来判断是否是因为设置了open_basedir 选项出错。 Continue reading ThinkPHP 5 LNMP PHP 7 环境 服务器 Error 500 错误

Nginx 去掉 ThinkPHP Url 中的 index.php

十一月 17, 2017十一月 17, 2017 Categories 学习笔记
index  index.html index.php index.htm;
location / {
    #去掉index.php,index 必须在此之上。
    if (!-e $request_filename) {
        rewrite ^/(.*)$ /index.php?s=$1 last;
        break;
    }
}

Continue reading Nginx 去掉 ThinkPHP Url 中的 index.php

阿里云服务器安装 ThinkPHP 记录一次坑

十月 19, 2017十月 19, 2017 Categories 学习笔记

1. vhost 里设置重写或添加配置好的重写路径

2. 删除缓存文件 /Runtime/common~runtime.php 或开启 DEBUG Continue reading 阿里云服务器安装 ThinkPHP 记录一次坑

文章导航

Next

Search

Most Viewed

  • Octoman 微博备份工具 Chrome 扩展 - 81,085 views
  • 阅后即瞎视频全集打包下载 - 36,194 views
  • Alexa 全球流量前 1000 名的网站 - 18,388 views
  • 留言 - 18,180 views
  • Octoman 微博相册批量下载 Chrome 扩展 - 14,473 views
  • 穿越时空的思念吉他谱 – 大叔爱指弹修订版 - 10,350 views
  • VSCode 无法验证,因为未设置任何 PHP 可执行文件 - 8,244 views
  • 微信小程序实现点击滑动展开效果动画 - 7,215 views
  • 微信小程序 BASE64 encode 加密 decode 解密 - 6,554 views
  • 微信小程序 图片加载失败时替换为默认图片的方法 - 6,276 views
  • iPad 几款视频播放软件对比 - 6,156 views
  • 2017 丹麦梦幻自赏天团 MEW “Visuals” 中国巡演北京站 Comforting Sounds 现场 - 5,297 views
  • 生成指定页面带参数的微信小程序码 - 4,552 views
  • Confluence 清理卸载重装 - 4,539 views
  • 微信小程序 自带 GPS 定位的坑 - 4,533 views

Reward

Recent Article

  • MacOS 安装 Adobe
  • 一些需要注意的系统路径
  • Java 一些方法
  • 小程序订阅消息接口字数限制问题
  • uni-app this 为 undefined

Recent Comment

  • anyone发表在《Octoman 微博备份工具 Chrome 扩展》
  • 1033发表在《Octoman 微博相册批量下载 Chrome 扩展》
  • xq发表在《Octoman 微博备份工具 Chrome 扩展》
  • 杨阳发表在《Octoman 微博备份工具 Chrome 扩展》
  • xq发表在《留言》

Tag Cloud

Aliyun Android Centos Chrome CodeIgniter CSCEC CSS Git Google hosts HTML JavaScript jQuery Linux Moto MySQL Nginx OnePlus Phantomjs PHP Python Redis ROM Song Swoole ThinkPHP Ubuntu Windows WordPress XAMPP Yarn 下载 图片 小程序 微信 微信小程序 愿望 插件 正则 生日 美剧 聚会 视频 过年 酒吧

Archives

Statistics

  • 59
  • 449
  • 13,312
  • 217,096
  • 828,798

链接表

  • 王星
  • 胡宏宇
  • 郭春海
Proudly powered by WordPress | Theme: Bogaty Lite by GretaThemes.