- 博客(6)
- 资源 (2)
- 收藏
- 关注
原创 docker+lnmp 报错小结,以laradock为例,其它同理
1、安装PHP扩展失败用vagrant + centos7 + lnmp开发都快两年,这是一个很好用的本地开发环境。对于我来说,它更像是一台真正的linux电脑,能真正直接把握它的每一处地方。而且现在内存都普遍8G以上的本子,加上SSD真的是毫无压力。但时间一长,暴露出很多很烦人的东西: (1)只对本地有用,到了线上环境又是一堆恶心的依赖报错。当...
2018-04-19 11:58:37 8818 4
原创 Uncaught TypeError: Argument 1 passed to Composer\Autoload\ClassLoader::addClassMap() must be of the
问题:composer install 报错Uncaught TypeError: Argument 1 passed to Composer\Autoload\ClassLoader::addClassMap() must be of the type array, integer given, called in phar:///usr/local/bin/composer/src/Com...
2018-04-28 16:30:40 4475
原创 git or gitlab需要密码的问题
前言:不管是服务器的git 或者 是服务器的gitlab,如果配置好git密钥之后,理应不需要输入密码的。1、git 问题:设置 git 密钥 后,扔提示需要密码shileideMacBook-Pro:test stone$ git [email protected]'s password: ……解决: (1)基本来看,检查本地私钥是否与服务器公钥一致:git默认加...
2018-04-26 14:58:44 37866
原创 ssh报错:ssh_exchange_identification 与 /var/empty/sshd
两个错误连接SSH,本地报错ssh_exchange_identification: Connection closed by remote host我用的阿里云,只能登陆阿里云,在控制台用网页连接服务器~~排错: 1、查看sshd的状态, service sshd status, 感觉不太对劲,重启一下,起不来。 用 journalctl -xe 查一下日志,发现以下报错:...
2018-04-25 14:50:03 3547
原创 laravel 小结
队列队列分发任务时报错 我的JOB:<?phpnamespace App\Jobs;use Illuminate\Support\Carbon;use Illuminate\Http\Request;use App\Models\PosDeviceIn;use Illuminate\Bus\Queueable;use I...
2018-04-16 19:31:10 468
原创 linux日常小结
peclpecl安装PHP扩展的指定版本,以swoole为例,"pecl install channel://pecl.php.net/" + "PHP扩展名" + "-" + "版本号" pecl install channel://pecl.php.net/swoole-2.1.2...
2018-04-12 14:45:35 168
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人