随笔分类 -  linux ->nginx

摘要:背景: 在使用navicat连接远程服务器的过程中,出现一下错误:2003-Can’t comment to Mysql server on ‘192.168.X.X’(10038)如图: 配置:1、centos7 64位2、mysql3、win104、navicat数据库工具 解决方法:关闭防火墙 阅读全文
posted @ 2020-07-18 17:27 宋先生日记 阅读(389) 评论(0) 推荐(0)
摘要:Nginx 出现 _STORAGE_WRITE_ERROR_:./Runtime/Cache/Home/ 这种情况是因为 application 没有足的权限 。需要给予777的权限就能解决了 阅读全文
posted @ 2017-09-15 09:45 宋先生日记 阅读(1194) 评论(0) 推荐(0)
摘要:在linux+Nginx+mysql+PHP 新装的服务器下,不支持重写pathinfo功能 。 需要加入这个代码 让Nginx 支持重写功能 location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; 阅读全文
posted @ 2017-09-15 09:43 宋先生日记 阅读(216) 评论(0) 推荐(0)