您的位置 首页 php

docker 环境下安装php扩展yaf

1、进入docker中

docker exec -ti phpnginx /bin/bash

2、pecl install yaf

3、docker-php-ext-enable yaf

4、退出exit 重启服务 docker restart phpnginx

在浏览器打印phpinfo ,如果有yaf说明安装成功

文章来源:智云一二三科技

文章标题:docker 环境下安装php扩展yaf

文章地址:https://www.zhihuclub.com/152839.shtml

关于作者: 智云科技

热门文章

网站地图