摘要: #下载swoole最新版 pecl install swoole-4.3.1 #开启扩展 docker-php-ext-enable swoole #查看扩展 php -m #重启PHP-FPM容器docker restart 容器ID 阅读全文
posted @ 2022-06-22 22:21 快乐的在一起 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 备注:提示file not find是因为要把php的index.php写入到php容器的/usr/share/nginx/www目录,而不是nginx里面。 补充:主要注意两点,nginx配置文件指向,fastcgi_pass端口指向确定没问题就能同时解析PHP+HTML,然后重新加载配置文件se 阅读全文
posted @ 2022-06-22 17:52 快乐的在一起 阅读(3531) 评论(1) 推荐(1) 编辑