Today, I tried updating from 184.108.40.206 to 220.127.116.11, and the update process gave the following error: "requires PHP version >= 5.2.0 and <= 6.0.0" despite the fact that Magento started supporting PHP 7.2 with version 18.104.22.168. It also deleted thousands of files, necessitating a restore from a backup. Has anyone else experienced either of these problems?
Yep faced the same problem when upgraded from 22.214.171.124 to 126.96.36.199. Had to change PHP version to 5.6.3 for my store (via CPanel), upgrade and then change back to PHP7x
You can perform the upgrade in command line with PHP 5.6.
How to do this?: change the setting of your server to run PHP 5.6 in CLI and 7.2 in web server, it will not affect your website, check the detail here: https://secure.php.net/manual/en/install.general.php.
After that, you can upgrade your Magento store without problems.
Another solution (not recommended):
Copy entire your Magento 188.8.131.52 to another server with PHP 5.6 running, then perform the upgrade. After it's upgraded successfully, copy the source code back to your PHP 7.2 server.