Nextcloud + PHP headaches
Resolved
Solution:
The error was hiding in /var/log/apache2/error.log, and the solution was to reinstall php7.3-mysql to fix the missing .so files
Troubleshooting steps
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
Install Nextcloud-required (& recommended) PHP modules:
sudo apt install php7.VER-apcu php7.VER-memcached php7.VER-redis php7.VER-ctype php7.VER-curl php7.VER-dom php7.VER-GD php7.VER-mbstring php7.VER-posix php7.VER-zip php7.VER-imagick php7.VER-gmp php7.VER-exif php7.VER-ldap php7.VER-smbclient php7.VER-ftp php7.VER-imap php7.VER-bcmath php7.VER-gmp php7.VER-bz2 php7.VER-intl php7.VER-fpm
https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html
No Comments