Skip to main content

Nextcloud + PHP headaches

Remember, you can run `sudo apt install phpVER phpVER-dep`

Set default php installation:

sudo update-alternatives --config php
sudo update-alternatives --config phar
sudo update-alternatives --config phar.phar

Change apache php version:

sudo a2disconf phpVER
sudo a2enconf phpVER