ByteInternet / hypernode-docker

Fast and easy Docker for Magento development
https://community.hypernode.io/hypernode-docker
35 stars 8 forks source link

Update documentation on switching php versions #41

Closed tdgroot closed 3 years ago

tdgroot commented 3 years ago

The documentation on switching php versions has gotten out of date.

A simple update-alternatives set --php 7.3 followed by bash /etc/my_init.d/60_restart_services.sh will not cut it anymore.

That is, because /etc/my_init.d/60_restart_services.sh now runs update-alternatives set --php ${PHP_VERSION}. It fetches the PHP_VERSION from file /etc/hypernode/magweb.json.

vdloo commented 3 years ago

thanks!