Thursday, November 25, 2010

Start and stop commands for xampp services

start and stop parameters

/opt/lampp/lampp could only start and stop XAMPP.

START AND STOP PARAMETERS
Parameter     Description
--------------------------
start         Starts XAMPP.
stop         Stops XAMPP.
restart     Stops and starts XAMPP.
startapache Starts only the Apache.
startssl     Starts the Apache SSL support. This command activates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay activated.
startmysql     Starts only the MySQL database.
startftp     Starts the ProFTPD server. Via FTP you can upload files for your web server (user "nobody", password "lampp"). This command activates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay activated.
stopapache     Stops the Apache.
stopssl     Stops the Apache SSL support. This command deactivates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay deactivated.
stopmysql     Stops the MySQL database.
stopftp     Stops the ProFTPD server. This command deactivates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay deactivated.
security     Starts a small security check programm.

For example: To start Apache with SSL support simply type in the following command (as root):

/opt/lampp/lampp startssl

You can also access your Apache server via SSL under https://localhost.

No comments:

Post a Comment