Xampp 7.0 Installation Guide on Ubuntu 14.04 LTS

Step 1 - Download the “xampp-linux-x64-7.0.27-0-installer.run” from https://www.apachefriends.org/download.html.
Download tar file for ubuntu environment from Download section based on 32bit/64bit system.





Step 2 - After downloading, go to cd downloads and make it executable.

Terminal ==> sudo chmod +x xampp-linux-x64-7.0.27-0-installer.run

Step 3 -After that Install Xampp , Run the below command in terminal.

Terminal ==> sudo ./xampp-linux-x64-7.0.27-0-installer.run

It will start installing the xampp, click on next button to install.







Step 4 - If you are not able to put the files in "htdocs"(Do not have the permissin /opt/lampp) then execute the below command

Terminal ==> sudo chmod -R 777 htdocs

Step 5 - Run (start) the tomcat server/MySQL/ ProFTPD the project.
Terminal ==> sudo /opt/lampp/lampp start

Step 6 -To check whether sever is started or not open browser and type in url as localhost/test.php
On success you will see the result browser. By default port is 80.

Done..!!!

Apache won't start in XAMPP in ubuntu



Solution -
Stop the another apache server

termincal ==> sudo /etc/init.d/apache2 stop

then try starting your xampp

termincal ==> sudo /opt/lampp/lampp start