0

I have installed xampp (Ubuntu 16) and http://localhost shows everything is working fine. But there is no /var/www directory .

George Udosen
  • 36,677
farley
  • 3
  • 1
    So? Why do you expect a 3rd party app to follow linux's filesystem? See .xampp/apache/conf/http.conf on what directory it is using – Rinzwind Aug 30 '17 at 14:33
  • Well being new Ubuntu I assumed it was what I read everywhere. I do not know how to see the file you gave? Can you help? – farley Aug 30 '17 at 14:55
  • I would advice to delete it and install our own LAMP with sudo apt install lamp-server^ -ALL- documentation you will find will be tailored to that version of a webserver setup and will use all the correct directories (like /var/www/). – Rinzwind Aug 31 '17 at 07:49

1 Answers1

1

Lamp , Apache use different DocumentRoot for its stuffs . You can find Apache configuration under /opt/lamp/httpd .