I installed Lamp and everythings goes fine except the fact that I don’t know how to set up the working directory of my project.
The lamp directory is on /srv/www/htdocs while my project is in /home/user/Web. If I set the working directory in default-server.conf I can’t use anymore phpmyadmin from the browser. I tryed to configure a Virtual Host but I think It was no good.
Just a note to say that the link in Lamp User Guide at the end of it doesn’t work.
The procedure is the follow:
Go inside /etc/apache2/vhosts.d
Create a copy of “vhost.template” and rename it “mysite.conf” (this file will be automatically loaded from apache)
Change DocumentRoot in /path/to/my/site/files
Make the same for Directory -> /path/to/my/site/files
Eventually is possible to set a particular domain but I didn’t need any.