- 博客(10)
- 资源 (2)
- 收藏
- 关注
原创 php7.4.1 configure: error: Package requirements (libxml-2.0 >= 2.7.6) were not met:
今天编译了一下php7.4 因为我的libxml 是自己编译按照以前的版本方式 安装时指定--with-libxml-dir=/opt/libxml2 一下编译的libxml 目录还是不可以https://bugs.php.net/bug.php?id=79135&thanks=2 去php官方提了编译失败的问题,感谢大佬回答大佬说 php 7.4 是依赖于p...
2020-01-17 18:53:09 10303
原创 No package 'oniguruma' found
今天编译php7.4.1 时出现了 No package 'oniguruma' found 去查看了官方更新日志 发现mbsting 需要oniguruma6.9.41.本人deepin 系统 apt installoniguruma 结果发现没有这个包2.https://github.com/kkos/oniguruma 开源地址 官方安装步骤...
2020-01-07 15:04:19 6785
原创 php Protocol "https" not supported or disabled in libcurl
php curl 请求https地址一直返回返回false按照以前做法是在请求中添加以下参数对https做处理curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); 禁止 cURL 验证对等证书curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);设置为 1...
2019-10-10 18:51:26 1238
原创 2021-03-29
composer 安装轮子内存溢出:问题版本:composer1.6 版本修复版本:composer 2.*解决:升级composer版本 composer self-udpate
2021-03-29 17:03:38 121
原创 MariaDB 开启查询日志
在my.cnf 中添加以下参数没有my.cnf 的话可以自己创建一个 Unix /etc/my.cnf mysql会自动查找这个文件general_log=ONgeneral_log_file=/data/mysql/logs/slowquery.log
2020-01-07 15:08:24 899
原创 ErrorException : date_format() expects parameter 1 to be DateTimeInterface, string given
今天在使用dete_format函数是一直报错,百度一直没找到原因 主要是一开始没仔细看官方文档.......文档是个好东西啊以下是官方写的 必须先用 date_create创建DateTimeInterface 类型的时间 然后在format$date = date_create('2000-01-01'); echo date_format($date, 'Y-m-d ...
2019-11-25 17:08:05 2034
翻译 python 3.6 Scrapy部署
使用scrapyd 进行管理爬虫scrapyd (安装在服务器端) https://scrapyd.readthedocs.io/en/latest/api.html#addversion-json运行scrapyd 如果报错 查看Twisted版本 我的版本时19.2.0 会报错https://stackoverflow.com/questions/55658289/bui...
2019-05-06 17:54:00 197
翻译 GO语言学习 printf 和 println的区别
package mainimport "fmt"func main() { a, b, c := 20, 30, 40 fmt.Println("a = ", a) //println 一段一段处理 自动加换行符 a = 20 fmt.Printf("b = %d ", b) //格式化输出,把b放在%b的位置 b = 30c = 40 fmt.Printf("c = %d\...
2019-03-07 00:09:45 222
原创 获取最近修改的文件
临时做一个修改项目时经常会忘记自己修改的那些个文件所以做一个脚本读取一下。 # coding=utf-8##获取近期修改的文件import osimport timeimport datetimeimport shutildir_address = ''##要查找的文件所在目录tmp_address = ''##临时保存修改后的文件目录date = '2018-09-1...
2018-09-29 17:17:49 486
原创 LNMP环境搭建
系统:CentOS Linux 7 (Core) x86_64一.安装nginx-1.13.12 1.解压下载好的ngixn包tar -xzvf nginx-1.13.12.tar.gzcd nginx-1.13.12 #进入解压好的nginx目录二.对安装的软件进行配置,检查当前的环境是否满足要安装软件的依赖关系(生成Makefile文件(https://blo...
2018-07-27 15:42:43 159
chm.tar.gz
2019-10-30
pymysql封装的db类
2018-09-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人