This simple Bash script will upgrade Moodle to the 3.4 stable version along with upgrading PHP to PHP7.1
- Activates Moodle Maintenance Mode
- Starts the process of upgrading PHP
- Stops Apache webserver
- Installs PHP 7.1 core and relevant dependencies
- Enables PHP7.1 mode the webserver
- Starts Aache webserver
- Starts Moodle upgrade to 3.4 Stable version
- Fetches the latest Moodle upgrades from the master GitHub repository
- Tracks Moodle 3.4 Stable branch
- Checkout Moodle 3.4 Stable branch
- Starts the upgrade process
- Purges Moodle cache
- Disables Moodle Maintenance Mode