Tags

,


In Windows OS XAMPP provide us a simple GUI to operate it. In Ubuntu you can use Terminal to operate xampp server . Press Ctrl+Alt+T button from keyboard to start Terminal window.

You can operate XAMPP server in ubuntu using following command.
Syntax: sudo /opt/lampp/lampp <action>

For example:

to start XAMPP server write following command in terminal
sudo /opt/lampp/lampp start

start xampp in ubuntu

start xampp in ubuntu

to stop XAMPP server write following command in terminal
sudo /opt/lampp/lampp stop


Following list shows command list

Action Action Detail
XAMPP Start Commands
start Start XAMPP (Apache, MySQL and eventually others)
startapache Start only Apache
startssl Start only SSL support
startmysql Start only MySQL
startftp Start only ProFTPD
XAMPP Stop Commands
stop Stop XAMPP (Apache, MySQL and eventually others)
stopapache Stop only Apache
stopssl Stop only SSL support
stopmysql Stop only MySQL
stopftp Stop only ProFTPD
XAMPP Reload Commands
reload Reload XAMPP (Apache, MySQL and eventually others)
reloadapache Reload only Apache
reloadmysql Reload only MySQL
reloadftp Reload only ProFTPD
Other Commands
restart Stop and start XAMPP
security Check XAMPP’s security
php5 Activate PHP5
phpstatus Which version of PHP is active?
backup Make backup file of your XAMPP config, log and data files
panel Starts graphical XAMPP control panel