Skip to content

学习日志 LIUGUOFENG

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

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

27 11 月, 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 11 月, 201704 7 月, 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 11 月, 201717 11 月, 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 10 月, 201719 10 月, 2017 Categories 学习笔记

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

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

文章导航

Next

Search

Most Viewed

  • Octoman 微博备份工具 Chrome 扩展 - 143,917 views
  • 阅后即瞎视频全集打包下载 - 52,790 views
  • Octoman 微博相册批量下载 Chrome 扩展 - 39,322 views
  • 留言 - 20,399 views
  • Alexa 全球流量前 1000 名的网站 - 20,295 views
  • 微信小程序 左上角返回主页按钮 自定义顶部导航栏 - 16,654 views
  • 穿越时空的思念吉他谱 – 大叔爱指弹修订版 - 15,835 views
  • 回形针 PaperClip 往期节目打包下载 - 13,741 views
  • iPad 几款视频播放软件对比 - 13,130 views
  • 微信小程序实现点击滑动展开效果动画 - 12,626 views
  • 微信小程序 BASE64 encode 加密 decode 解密 - 12,000 views
  • VSCode 无法验证,因为未设置任何 PHP 可执行文件 - 11,924 views
  • 关闭 WIN10 关机时提醒 “仍要关机” - 10,669 views
  • Confluence 清理卸载重装 - 10,141 views
  • macOS M1 brew install svn 安装 SVN 报错 - 9,200 views

Reward

Recent Article

  • DeepSeek Sidebar 已上架 Chrome 应用商店:把 AI 助手放进浏览器侧边栏
  • Octoman Read Later 上线:把“稍后阅读”从一堆标签页里解放出来
  • 章小压:给你的图片减减肥,一个 18MB 的开源压缩神器
  • Nacos 2.5.2 在 macOS M1 上的内存下限实测:500MB 降不动
  • macOS chronod 占用 100% CPU 的一次排查记录

Recent Comment

  • misswell 发表在《章小压:给你的图片减减肥,一个 18MB 的开源压缩神器》
  • delectate 发表在《章小压:给你的图片减减肥,一个 18MB 的开源压缩神器》
  • tkan dlya mebeli_grsr 发表在《留言》
  • Gail712 发表在《DeepSeek Sidebar – 一键在 Chrome 侧边栏打开 DeepSeek》
  • Donaldleamp 发表在《Alexa 全球流量前 1000 名的网站》

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

  • 116
  • 175
  • 6,357
  • 219,872
  • 219,872

链接表

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