What is XAMPP?XAMPP is the most popular PHP development environment.XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl.Download the latest version from herewget https://www.apachefriends.org/xampp-files/7.4.16/xampp-linux-x64-7.4.16-0-installer.runAfter download change the permission :chmod 755 xampp-linux-x64-7.4.16-0-installer.runsudo ./xampp-linux-x64-7.4.16-0-installer.runIf it linux server Press all Yes during installation. If it is the desktop version of linux press next during installation. Now need to change the permission for htdocs :cd /opt/lampp/chmod -R 777 htdocscd htdocscreate one demo.php file and write code :<?phpecho “Welcome to linux for freshers” ?>To start the XAMPP service :sudo /opt/lampp/lampp startStarting XAMPP for Linux 7.4.16-0…XAMPP: Starting Apache…ok.XAMPP: Starting MySQL…ok.XAMPP: Starting ProFTPD…ok.To run the php file:http://localhost/demo.phpOr http://lip_address/demo.phpTo stop the XAMPP service:sudo /opt/lampp/lampp stopStopping XAMPP for Linux 7.4.16-0…XAMPP: Stopping Apache…ok.XAMPP: Stopping MySQL…ok.XAMPP: Stopping ProFTPD…ok.

- A word from our sposor -

How to Install XAMPP on linux ?