Reputation: 31
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.
Upvotes: 0
Views: 113
Reputation: 31
Already Fixed IT! ( kinda )
/var/www/
folder just in caseapt-get --purge remove PackageName
and then i just added the line "Include /etc/phpmyadmin/apache.conf"
and
"ServerName localhost"
to the apache2 config located in /etc/apache2/apache2.conf
Upvotes: 1