So yesterday i updated my server, after i booted the server it all looked good until i tested one of the websites.
My virtualhosts worked perfectly before but now the sites are no longer working.
First i got the error that the folder "/etc/apache2/conf.d/" dont exist and "LockFile" dont exist.
So i created the directory and "sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf" that fixed the first problem.
The second one i just "# LockFile" out
But the sites did still not work so then i tried the a2ensite and a2dissite commands claim "site xxxxxx does not exists" even the files are in sites-aviable and were in sites-enabled I tried to remove them from sites-enabled and then enable them again, but still apache claims they would not exists.
Then i found this so
http://lyemium.com/content/virtual-host-issues-when-upgrading-apache-22-24So now i can make that work. But the sites still dont work.
Now i get : Forbidden
You don't have permission to access / on this server.
Apache/2.4.6 (Ubuntu) Server at
http://www.xxx.com Port 80
Update 1 :
By adding this to the "/etc/apache2/sites-available" files thats now called "website.com.conf"
<Directory "directory here">
Order allow,deny
Allow from all
Require all granted
</Directory>
I get that to work.
But now the PHP is not working!
Again i have already reinstalled all PHP ++ but still nothing!