前段时间,PHP7的PHP-FPM爆出了远程代码执行漏洞,我的几个vps都用phuip-fpizdam测试了一番,虽然没事,但是万事要小心,还是考虑升级一下,我用的是LNMP,直接在lnmp安装包解压目录下找到upgrade.sh执行,会出现如下提示
+-----------------------------------------------------------------------+
1: Upgrade Nginx
2: Upgrade MySQL
3: Upgrade MariaDB
4: Upgrade PHP for LNMP
5: Upgrade PHP for LNMPA or LAMP
6: Upgrade MySQL to MariaDB
7: Upgrade phpMyAdmin
exit: Exit current script
###################################################
Enter your choice (1, 2, 3, 4, 5, 6, 7 or exit): 4
Current PHP Version:7.1.7
You can get version number from http://www.php.net/
Please enter a PHP Version you want: 7.1.33
输入对应的版本号就行了
将 PHP 7.1.X 更新至 7.1.33 https://github.com/php/php-src/releases/tag/php-7.1.33
将 PHP 7.2.X 更新至 7.2.24 https://github.com/php/php-src/releases/tag/php-7.2.24
将 PHP 7.3.X 更新至 7.3.11 https://github.com/php/php-src/releases/tag/php-7.3.11
我要评论