摘要: ctrl + c 可以强制退出 阅读全文
posted @ 2019-09-29 16:42 张天空 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: 查看80端口:netstat -anp | grep 80 如下可以看到80端口被占用 再输入命令杀死进程:kill 8500 阅读全文
posted @ 2019-09-29 16:22 张天空 阅读(764) 评论(0) 推荐(0) 编辑
摘要: ln -sf /usr/local/php7.2/bin/php /usr/bin/php 本来是php7.2的环境但是用命令行php -v 还是现实的php5.3.6 所以用命令行更改下环境变量 阅读全文
posted @ 2019-09-29 15:55 张天空 阅读(2152) 评论(0) 推荐(0) 编辑
摘要: configure: error: Cannot find PHP-config. Please use --with-php-config=PATH 一般出现这个错误说明你执行 ./configure 时 --with-php-config 这个参数配置路径错误导致的。 修改为: ./config 阅读全文
posted @ 2019-09-29 15:43 张天空 阅读(2254) 评论(0) 推荐(0) 编辑
摘要: http://iwhot.com/125.html?tdsourcetag=s_pcqq_aiomsg 按照当前的趋势估计 go 之后的版本都是用 go mod 来管理了,gopath 这种模式感觉会被淘汰。 基本上用的时候就是,首先 go init 一下,然后编译的时候会把对应 git 上的包自己 阅读全文
posted @ 2019-09-27 15:25 张天空 阅读(22667) 评论(2) 推荐(0) 编辑
摘要: ip addr cd / 到根目录 ls 查看文件 crontab -l 查看计划任务 2 15 * * * /usr/bin/curl http://192.168.72.128/a.php*/2 * * * * /usr/local/php/bin/php /data/www/qshop/yii 阅读全文
posted @ 2019-09-23 18:05 张天空 阅读(19467) 评论(0) 推荐(0) 编辑
摘要: php composer.phar require guzzlehttp/guzzle:~6.0 require_once VENDOR_PATH.'/jd/autoload.php'; 阅读全文
posted @ 2019-09-20 09:52 张天空 阅读(331) 评论(0) 推荐(0) 编辑