In this release we’ve added the capability to enable and use PHP 8.0. To change the PHP version of your Hypernode you can use the
hypernode-systemctl command-line tool:
$ hypernode-systemctl settings php_version 8.0 Operation was successful and is being processed. Please allow a few minutes for the settings to be applied. Run 'livelog' to see the progress.
You can then track the progress of the change using:
$ hypernode-log ACTION START END STATE TASKS RUNNING update_node 2021-06-17T15:33:36Z 2021-06-17T15:33:37Z running 2/3 php_update_node_to_update_flow
And once it’s done your new PHP version should be up and running:
$ php -v PHP 8.0.7 (cli) (built: Jun 4 2021 10:03:18) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.7, Copyright (c) Zend Technologies with Zend OPcache v8.0.7, Copyright (c), by Zend Technologies
You of course can also change the PHP version of your Hypernode in the Hypernode Control Panel.
If you want to test out this new version of PHP in your local development environment check out these new hypernode-docker images. Thanks to Peter Jaap Blaakmeer from Elgentos for requesting this feature.