Running XAMPP on Ubuntu

Posted in Notes on 12 June 2018

Once you have installed XAMPP on Ubuntu, these are the usual commands used when everything is up and running.

Important Commands

How to start XAMPP in Ubuntu

To start XAMPP run the following and the command will return a list of running services:

sudo /opt/lampp/lampp start

Start XAMPP

How to stop XAMPP in Ubuntu

To stop XAMPP run the command below and it will return a list of the stopped services.

sudo /opt/lampp/lampp stop

Stop XAMPP

How to restart XAMPP in Ubuntu

To restart XAMPP run the command below and it will stop and restart the running services.

sudo /opt/lampp/lampp restart

Apache, MySQL and FTP

You can also stop/start/restart individual services by appending “apache”, “mysql” or “ftp” to the end.

Ubuntu Help screen for XAMPP

Starting

start – Start XAMPP (Apache, MySQL and eventually others)

startapache – Start only Apache

startmysql – Start only MySQL

startftp – Start only ProFTPD

Stopping

stop – Stop XAMPP (Apache, MySQL and eventually others)

stopapache – Stop only Apache

stopmysql – Stop only MySQL

stopftp – Stop only ProFTPD

Restart

reload – Reload XAMPP (Apache, MySQL and eventually others)

reloadapache – Reload only Apache

reloadmysql – Reload only MySQL

reloadftp – Reload only ProFTPD

restart – Stop and start XAMPP

SSL & Security

security – Check XAMPP’s security

enablessl – Enable SSL support for Apache

disablessl – Disable SSL support for Apache

Config

backup – Make backup file of your XAMPP config, log and data files

oci8 – Enable the oci8 extenssion

GUI Panel

panel – Starts graphical XAMPP control panel

Related Notes Posts

February 2024

Animated SVGs (Scalable Vector Graphics)

Animated SVGs, Scalable Vector Graphics, are increasingly popular choices for adding dynamic elements to websites. Their scalability, lightweight nature, and flexibility make them attractive options... Continue reading

December 2023

Using Scalable Vector Graphics (SVGs)

Scalable Vector Graphics (SVGs) have revolutionised website design, offering unparalleled flexibility, scalability, and interactivity. As versatile graphic elements, SVGs can enhance the visual appeal and... Continue reading

September 2023

Designing websites for accessibility

In the ever-evolving landscape of web design, the balancing act between accessibility and aesthetic appeal remains a crucial consideration. As the digital realm becomes increasingly... Continue reading

More Notes Posts