Ubuntu: Missing files using Xampp


I have installed xampp in my ubuntu 14.04 and i want to know why i cant found the files like apache2.conf or conf-available. I cant found /etc/apache2....

Anyone know why it is happening?



Xampp does not use the Debian-style configuration conventions. It uses a more traditional configuration. Forget about a2enmod, a2ensite and the rest; read the Xampp documentation.


You should read the Ubuntu server guide. It will probably answer most of your beginner questions on getting your web server setup (including the question you asked, which the guide states is in /etc/apache2/).

See http://wiki.apache.org/httpd/DistrosDefaultLayout for discussion of where you might find Apache httpd configuration files on various platforms, since this can vary from release to release and platform to platform. The most common answer, however, is either /etc/apache/conf or /etc/httpd/conf

Generically, you can determine the answer by running the command:

/opt/lampp/bin/httpd -V or httpd -V

(That's a capital V). Or, on systems where httpd is renamed, perhaps apache2ctl -V

This will return various details about how httpd is built and configured, including the default location of the main configuration file.

One of the lines of output should look like:

-D SERVER_CONFIG_FILE="conf/httpd.conf"  

which, combined with the line:

-D HTTPD_ROOT="/etc/httpd"  

will give you a full path to the default location of the configuration file

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »