Member-only story

How to Set a PHP Development Environment With XAMPP on Ubuntu Linux

Want to develop PHP-based apps on Ubuntu Linux? Here’s how to configure a LAMP environment with XAMPP.

Mwiza Kumwenda
3 min readJul 22, 2021

This guide will show you how to set up a LAMP Server (Linux, Apache, MySQL, and PHP) for developing PHP-based web applications on Ubuntu Linux using XAMPP.

You can use the XAMPP stack to develop PHP applications powered by frameworks such as WordPress, Joomla!, Drupal, PrestaShop, etc.

XAMPP is open-source and cross-platform. The core components that make up XAMPP include Apache, MySQL, PHP, and Perl and the X means cross-platform.

Downloading XAMPP for Ubuntu

To get started, you should download the XAMPP Debian package for Ubuntu Linux as follows.

First, go into your Downloads directory using the cd command.

cd ~/Downloads

Run the following command to download XAMPP using wget, a command-line tool for downloading packages from the internet.

wget https://www.apachefriends.org/xampp-files/8.0.8/xampp-linux-x64-8.0.8-0-installer.run

Note: You can replace the XAMPP version in the command above with the version of your liking if you wish to.

Since your current working directory is the ~/Downloads folder, wget will automatically save the XAMPP application…

--

--

Mwiza Kumwenda
Mwiza Kumwenda

No responses yet