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

October 2024

What's going on between WordPress and WP Engine?

The disagreement between WordPress and WP Engine has sparked considerable debate within the WordPress community and could have important implications for users of the WordPress... Continue reading

August 2024

Guide to writing a good cookie policy (UK)

A cookie policy informs website visitors about the cookies your website uses, why they are used, and how users can control them. > **The information... Continue reading

May 2024

Email and newsletter deliverability best practice

Email deliverability refers to the ability of an email to successfully reach the recipient's inbox, rather than being marked as spam or bouncing back. High... Continue reading

More Notes Posts