Tech
[PHP] 我对 PHP 5.4 修复 CVE-2026-109618 和 CVE-2026-109619 的过程
1 、下载:
从 https://museum.php.net/php5/php-5.4.45.tar.gz 下载 PHP 5.4 的最新版本,从 https://github.com/vperetti/php-cve-2026-109618-109619-backports 下载 patch 文件
2 、打补丁:
将
php-5.4.45 目录
php-5.4-CVE-2026-109618-109619.patch 文件
放到同一个目录下,进入 php-5.4.45 目录,然后
patch -p1 < ../php-5.4-CVE-2026-109618-109619.patch
3 、配置编译参数:
在原来的 PHP 5.4 里,php -i | grep Configure 看到编译参数,比如我的是
./configure --prefix=/www/server/php/54 --with-config-file-path=/www/server/php/54/etc --enable-fpm --with-fpm-user=www --with-fp...
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX