Nevermind, I have fixed this. For anyone else with the same problem, here’s what I did:
sudo apt update
sudo apt --fix-broken install
sudo apt upgrade
sudo apt-get install smbclient
sudo apt-get install php
Excuse me if I typed any of these commands wrong, because I am writing from the top of my head. I hope this can help out anyone else with the same problem