Last week, almost all versions of PHP exposed the vulnerability of Multipart/form data. For a while, the whole server circle was bustling. Some wanted to try whether there was a real vulnerability, and some were intentional acts of peers. However, the official did not release an updated version for all versions, which is urgently needed by users. Today, Lao Zuo saw that friends who use the AMH panel can upgrade according to the official patch method.
I. Newly installed AMH panel
Whether we are currently installing a free version of AMH4.2 or a paid version, the newly installed data source has officially installed the patch. If we do not want to upgrade the patch, we can directly install a new panel. Remember to back up the data.
Second, upgrade the current version
If we use the free version of AMH4.2, and there is no additional PHP upgrade There are too many plug-ins installed. The default PHP version is 5.3.27. We can upgrade 4.2 according to the following method.
sed -i 's/amysql.com/amh.sh/' /root/amh/upgrade
amh upgrade AMH4220150522A1 install
In this way, we can upgrade the default PHP 5.3.27 to 5.3.27 P1. Before upgrading, remember to back up the data and database to prevent an emergency.
If we use the paid AMH5 version and PHP 5.4-5.6 version, we can directly upgrade the current PHP version at the background plug-in.
To sum up, the above upgrade plan is from the AMH official. In view of the security of the data and website, we'd better backup the data before upgrading.