PHP-Update via Script
https://help.nextcloud.com/t/php-updater-a-script-to-upgrade-php-in-a-safe-way/180215/120
Installation of the script:
sudo wget -O /usr/local/bin/php-updater https://global-social.net/script/php-updater
sudo chmod +x /usr/local/bin/php-updater
Explanation:
- the first line downloads the script into the directory /usr/local/bin
- the second line makes it executable
You only need to install it once.
As all of my → ebtb ← scripts, it comes signed and does an integrity check on the first run and checks for updates on every startup.
Simply run it:
php-updater
meanwhile it is self explanatory and a source of good information about the complete php realm on your server.