![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
vprix
这个作者很懒,什么都没留下…
展开
-
2021-03-29
composer 安装轮子内存溢出:问题版本:composer1.6 版本修复版本:composer 2.*解决:升级composer版本 composer self-udpate原创 2021-03-29 17:03:38 · 125 阅读 · 0 评论 -
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 · 10415 阅读 · 0 评论 -
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 · 910 阅读 · 0 评论 -
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 · 6890 阅读 · 0 评论 -
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 · 2070 阅读 · 0 评论 -
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 · 1273 阅读 · 0 评论