- 博客(11)
- 收藏
- 关注
原创 在PHP中使用协程实现多任务调度-个人注解
class SystemCall { protected $callback; public function __construct(callable $callback) { $this->callback = $callback; } public function __invoke(Task $task, Scheduler $scheduler) { $callback = $this->callback;
2020-05-20 11:58:23
202
原创 PHP-fpm7.4 docker安装扩展
FROM php:7.4-fpmRUN echo "deb http://mirrors.aliyun.com/debian/ buster main non-free contrib \n \deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib \n \deb http://mirrors.aliyun...
2020-01-04 22:50:44
2743
原创 centos7 制作openresty docker镜像
FROM centos:7COPY ./start.sh /root/COPY ./openresty-1.15.8.1 /root/openresty-1.15.8.1COPY ./conf /root/confRUN yum install -y perl perl-devel perl-ExtUtils-Embed pcre-devel openssl openssl-devel...
2019-12-29 18:31:33
691
原创 mix源码理解
[ // 错误 'error' => [ // 依赖引用 'ref' => beanname(Mix\Console\Error::class),//bean配置的名字,通过这个去取bean ], // 日志 'log' => [ ...
2019-10-28 23:30:13
387
原创 laravel使用遇到的坑
ORM使用save方法与create、update方法使用方式不一样,以前用过的phalcon使用方式是一样的。save时加入ORM模型中没有主键字段存在,是无法更新的
2019-08-07 13:46:00
138
原创 nginx编译安装
./configure –prefix=/opt/openresty –with-luajit –with-http_ssl_module –user=root –group=root –with-http_realip_module –add-module=./bundle/ngx_cache_purge-2.3/ –add-module=./bundle/nginx_upstr...
2019-05-04 22:12:35
184
原创 vgrant仓库镜像下载地址范例
https://app.vagrantup.com/laravel/boxes/homestead/versions/7.1.0/providers/virtualbox.box
2019-03-02 23:54:33
996
原创 vagrant使用vmware配置
1.安装vagrant支持vmware的插件 vmware-fusion:vagrant plugin install vagrant-vmware-fusionvmware-workstation:vagrant plugin install vagrant-vmware-workstationvagrant-vmware-desktop这个插件是用于macOS的Vagrant VM...
2019-02-24 11:54:59
9751
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人