CloudLinux (alt-php) 与 PHP2Shell

CloudLinux (alt-php) 对修复说了什么,以及在哪里更新和重启 PHP。

CloudLinux (alt-php) 怎么说

CloudLinux 博客(2026年10月21日,阶段性说明)和状态页事件时间线(UTC,10月20日到21日)称,上游发布后正在准备 5.2 到 8.5 的 alt-php 构建。按时间线,列为已发布的只有 alt-php74(EL6、EL7、EL8、EL10、Debian 10/11、Ubuntu 16.04/18.04/22.04/24.04/26.04)和 alt-php80(Alpine 3.23)。页面没有确认其他 alt-php 构建,也没有确认 ea-php 已发布(ea-php 计划随 EasyApache4 v25.91 发布)。Imunify360 WAF 规则集 8.83 只是临时缓解。

an interim mitigation, not a complete fix
cloudlinux.statuspage.io2026-10-21官方
Updating PHP is still action number one.
blog.cloudlinux.com2026-10-21官方

更新 PHP

博客给出的 alt-php 更新命令是 yum update 'alt-php*',Debian/Ubuntu 用 apt-get upgrade。状态页写的是 'yum update / apt upgrade'。cPanel 的 ea-php 见 cPanel 条目。检查 Imunify360 规则集(cPanel + Apache)用 cat /etc/apache2/conf.d/modsec_vendor_configs/imunify360-full-apache/VERSION,如果低于 8.83,运行 imunify360-agent update --force modsec-rules。

重启 PHP

状态页要求更新后重启 Apache、PHP-FPM 或 LSAPI。在我们读过的页面里,CloudLinux 没有给出具体命令。

我们读过的页面