For those who don't know what is xampp, xampp is php development bundle, it contains apache web server, mysql and of course php.
You can download the latest xampp from here, it's available for windows, linux, and mac operating system and totally free.
By the time i wrote this article, the latest version of xampp for linux is version 5.6.11, so i'm going to use that for this tutorial.
Step by step how to install XAMPP on lubuntu
- Download xampp installer from here. Remember to get the latest one and match with your operating system type (32 bit or 64 bit)
- Open terminal/console, go to ~/Downloads (assuming the xampp installer is located on that folder)
cd ~/Downloadschmod +rx xampp-linux-5.6.11-1-installer.runsudo ./xampp-linux-5.6.11-1-installer.runBy default xampp installation is located at /opt/lampp, and your apache home directory (place where you put the php,html,css files) is located inside /opt/lampp/, which is /opt/lampp/htdocs/.
You can activate, deactivate, and restart xampp services (apache, mysql, proFTPD) from command line, here's the command:
starting xampp services
sudo /opt/lampp/lampp startstop xampp services
sudo /opt/lampp/lampp stoprestart xampp services
sudo /opt/lampp/lampp restartBut if you are like me, who prefer the GUI tool, then run this command instead:
sudo /opt/lampp/manager-linux.runif you are using 64 bit version of xampp, run this command:
sudo /opt/lampp/manager-linux-x64.runHappy coding :)


Không có nhận xét nào
Đăng nhận xét