摘要: 1 # git操作不想每次都输密码,出现报错 2 [root@api ~]# sudo -u nginx git config --global credential.helper store 3 error: could not lock config file /home/nginx/.gitc 阅读全文
posted @ 2022-09-28 15:04 andy_chan 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 1、安装 tideways_xhprof 拓展 php是编译安装的: 1 [root@localhost ~]# cd /datas/package/ 2 [root@localhost package]# wget https://github.com/tideways/php-xhprof-ex 阅读全文
posted @ 2022-09-26 14:55 andy_chan 阅读(183) 评论(0) 推荐(0) 编辑
摘要: CI只能做到自动化上传、预览,不能进行提审、发布操作。 项目SAAS化后,用CI自动上传小程序代码,省去商家自行下载代码、使用IDE上传等操作,然后再引导商家去小程序后台提审和发布。 如果要做到一键处理,就需要接入微信第三方小程序开发模式,这里不展开。 详细的CI说明,请查看官网。 1 #下载nod 阅读全文
posted @ 2021-08-21 12:22 andy_chan 阅读(636) 评论(0) 推荐(0) 编辑
摘要: 刚刚把Zend Studio从13.5.1升级到13.6.1之后,试了很多破解包,终于找到有用的,记录一下。 1、直接check for updates升级,或者官方下载 http://downloads.zend.com/studio-eclipse/13.6.1/ZendStudio-13.6. 阅读全文
posted @ 2021-08-18 17:11 andy_chan 阅读(545) 评论(0) 推荐(0) 编辑
摘要: 最近捣鼓了自签ssl证书,按照以前的记录进行配置,发现IE下正常,Chrome下却无法访问。经过多方查找发现是高版本chrome需要配置subjectAltName,故做此记录。 一、配置openssl.cnf 1 [root@localhost ca]# openssl version -a 2 阅读全文
posted @ 2020-03-30 13:46 andy_chan 阅读(2467) 评论(0) 推荐(0) 编辑
摘要: 最近有个项目用到了最新的TP3.2.5,发现有个报错:There is no active transaction,后来定位分析到是TP代码bug,由于官方已经不维护且无法提交issue,故做此记录。 测试代码: 1 try { 2 $uModel = M('Users'); 3 $uModel-> 阅读全文
posted @ 2020-03-25 14:05 andy_chan 阅读(575) 评论(0) 推荐(0) 编辑
摘要: 安装php拓展 imagick,上来就编译 ImageMagick,出现各种问题: 1 convert: no decode delegate for this image format `JPG' @ error/constitute.c/ReadImage/561. 2 convert: no 阅读全文
posted @ 2019-11-13 17:51 andy_chan 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 导入了过大的项目,导致很卡,且Close Project和Delete操作不了,一直无响应。 调整项目目录下的隐藏文件夹,删除对应项目: E:\www\.metadata\.plugins\org.eclipse.core.resources\.projectsE:\www\.metadata\.p 阅读全文
posted @ 2019-04-04 16:49 andy_chan 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 本文整理自大神 Corz 1、php56 2、php72 3、test 4、后续修正 阅读全文
posted @ 2019-01-26 09:55 andy_chan 阅读(1706) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/builder_taoge/article/details/78292302 https://blog.csdn.net/qq_26808915/article/details/50256717 https://www.codegood.com/downl 阅读全文
posted @ 2019-01-10 14:50 andy_chan 阅读(428) 评论(0) 推荐(0) 编辑