I was working on a project of mine . then i had to restart the computer. Once I did suddenly PHP stopped working on Apache. then i starting looking into the configuration files and error logs and fixed a spelling error in the config file, but STILL the problem persisted, then i decided to re-install phpmyadmin and Apache2 and ran:
apt-get --purge remove apache2 apache2-utils && apt-get --purge remove phpmyadmin apt-get update apt-get install apache2 phpmyadmin
then I set phpmyadmin to configure everything automatically but the very same problem persisted O-O , so i do NOT understand what am i doing wrong or how to fix it so your assistance would be appreciated.