本博客使用的Docker搭建,PHP为7.3.29-fpm,无法使用一些插件,为了更好的使用某些插件,故升级PHP版本。注:由于对这方面了解不多,走了不少弯路,本文仅作参考。首先在Dockerfile文件中修改FROM php:7.3.29-fpm #修改为指定版本,这里我选择的是7.4.33 RUN apt-get update \ && docker-php-ext-install pdo_mysql \ && echo "output_buffering = 4096" > /usr/local/etc/php/conf.d/php.ini \ && echo "date.timezone = PRC" >> /usr/local/etc/php/conf.d/php.ini这里我是直接在Docker拉取了一个镜像docker pull php:7.4-fpm docker run -d -v $(pwd):/var/www/html --name t
Colico
『流水很清楚,惜花這個責任,真的身份不過送運。這趟旅行若算開心 亦是無負這一生』