Linux 安装 php 很简单
apt install update
apt install php7.4
apt install php7.4-mysql
如果需要和 WordPress 配合则安装其扩展即可
84 2023-05-14 05:39:48 apt install php7.4-curl
85 2023-05-14 05:39:53 apt install php7.4-dom
86 2023-05-14 05:39:57 apt install php7.4-dom
87 2023-05-14 05:40:02 apt install php7.4-mbstring
88 2023-05-14 05:40:11 apt install php7.4-zip
89 2023-05-14 05:40:17 apt install php7.4-gd
90 2023-05-14 05:40:23 apt install php7.4-intl
91 2023-05-14 05:40:29 apt install php7.4-imagick
安装完拓展即可加载完整的 WordPress 扩展,和完成 WordPress 健康检查中的 PHP 扩展安装。