摘要: #fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/"; 注释这行 nginx下面fastcgi.conf 阅读全文
posted @ 2020-09-29 10:51 无限REIZ 阅读(175) 评论(0) 推荐(0) 编辑
摘要: ssl worker 没有name processes 也只有一个 导致的错误 在证书之下 填入新的name count就可以了 阅读全文
posted @ 2020-09-22 11:15 无限REIZ 阅读(630) 评论(0) 推荐(0) 编辑
摘要: Declaration of Symfony\Component\Translation\TranslatorInterface::setLocale($locale) must be compatible with Symfony\Contracts\Translation\LocaleAware 阅读全文
posted @ 2020-04-26 20:37 无限REIZ 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 阿里云服务器 突然报503 查看硬盘 是否占完 阅读全文
posted @ 2019-11-27 13:30 无限REIZ 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 在 Homestead/scripts 目录下新建文件 serve-tp5.sh 内容如下 阅读全文
posted @ 2019-10-29 11:49 无限REIZ 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 直接判断有没有code就可以 基本代码贴上 阅读全文
posted @ 2019-07-18 16:54 无限REIZ 阅读(788) 评论(0) 推荐(0) 编辑
摘要: 确定网址和网页授权域名一致,在回调里面需要加上http 如果在redirect() 里面填入url要加上http 直接在配置文件加上回调地址就不会出问题,会自动加上http 阅读全文
posted @ 2019-07-18 16:35 无限REIZ 阅读(396) 评论(0) 推荐(0) 编辑
摘要: A:需求 1、从excel把数据导入mysql 2、简单数据清洗 3、数据查询优化 B:解决方案 1、excel的数据量比较大(60w),先把excel转成csv文件(手动操作),然后使用SpreadsheetReader(github)把数据写入txt(因为有些数据需要处理),使用mysql的lo 阅读全文
posted @ 2019-07-16 16:18 无限REIZ 阅读(722) 评论(0) 推荐(0) 编辑
摘要: 在PHP安装文件夹下找到php.ini。在文件中搜索cgi.fix_pathinfo,并把cgi.fix_pathinfo=0,改成 1 。注意要去掉注释,然后重启Apache即可;隐藏apache 版本ServerTokens ProdServerSignature off隐藏php 版本expose_php = On改成expose_php = Off 阅读全文
posted @ 2019-07-10 18:45 无限REIZ 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 1、使用SpreadsheetReader把数据写到txt,再用load data local 导入mysql 2、使用mysql load data local$sql = "load data local infile '$txt_path' ignore into table 表名 chara 阅读全文
posted @ 2019-06-26 16:57 无限REIZ 阅读(554) 评论(0) 推荐(0) 编辑