If you are window user and currently switch to Ubuntu and want to install XAMPP server on your system then this post can help you to install and run Xampp. Follow below steps to learn how to setup XAMPP.

Step 1. Download latest release of Xampp server from there official website or click here and download Xampp for Linux.

Step 2. Now open terminal or press ctrl+alt+t to open, login in terminal as super user type

sudo su

Install Xampp on ubuntu

Step 3. Now go to directory where you download file and run following command

chmod +x xampp-linux.run

install xampp on ubuntu

Step 4. Now enter this command to open and run install

./xampp-linux.run

Step 5. After above command installation window open you can run installation

Xampp setup on ubuntu

After you can install your Xampp you can run your PHP code.

Done.