Command line interface for easier control XAMPP
Open your Terminal
, go to folder where you downloaded xammp-cli and run sh ./installer
:
cd /path/to/xampp-cli
sh ./installer
If you need help, open Terminal
and type xampp
without arguments. Available commands:
- add - adds a new host from existing folder (Usage:
sudo xampp add <domain> [path/to/project]
). If directorypath/to/project
doesn't exist, it will be created. If you run this command with one argument, a new host will be added from a folder that has the same name (Usage:sudo xampp add <domain>
). If directorydomain
doesn't exist, it will be created in current directory. - remove - removes host from XAMPP (Usage:
sudo xampp remove <domain>
). That command removes host from/opt/lampp/etc/extra/httpd-vhosts.conf
and/etc/hosts
, and removes symbolic link to project fromhtdocs
. - gui - runs
manager-linux.run
ormanager-linux-x64.run
. - All default XAMPP commands (
start
,startapache
,startmysql
,startftp
,stop
,stopapache
,stopmysql
,stopftp
,reload
,reloadapache
,reloadmysql
,reloadftp
,backup
,restart
,security
,oci8
,enablessl
,disablessl
).
If you find an error or have questions, please report to issues.
Copyright (C) 2019 Ziyaddin Sadigov (@zsadigov).