The problem is you no longer have PHP 5 and are running PHP7 .. You may need to update some PHP plugins and files for the new PHP7. php.ini's are now located at /etc/php/7.0 not /etc/php5 .. You may need to change things in apache or moodle to reflect this change
manpreet
Best Answer
2 years ago
I accidentaly upgraded my system instead of just putting the updates on, and not my moodle won't work because PHP is messed up.
It tells me I have unmet dependencies, and problems with PHP5-cli.
How can I get my php fixed?? I can't seem to get the dependencies fixed.
Running
sudo dpkg --configure -a
I get a lot of dependency problems-leaving unconfigured.sudo apt-get install -f
I get