Guide to using XAMPP for Linux

This article covers some need-to-know information if you're using XAMPP for Linux. 
Since there's no GUI for XAMPP for Linux, you will need to use commands to control XAMPP.

Also the files are placed a little differently than on Windows and you'll need to access those as well.
I've listed all of the necessary commands and directories below.

XAMPP

This part of the article will cover some need-to-know things regarding XAMPP for Linux.

START/STOP XAMPPSERVER
These commands are used following /opt/lampp/lampp. Example: /opt/lampp/lampp start

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 restart 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, default password lampp). This command
activates the ProFTPD permanently, e.g. if you restart XAMPP,
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 restart 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 restart XAMPP, the FTP will stay deactivated.
security Starts a small security check program.

IMPORTANT DIRECTORIES AND FILES

/opt/lampp/bin/ The XAMPP commands home folder.
/opt/lampp/htdocs/ The Apache DocumentRoot directory.
/opt/lampp/etc/httpd.conf The Apache configuration file.
/opt/lampp/etc/my.conf The MySQL configuration file.
/opt/lampp/etc/php.ini The PHP configuration file.
/opt/lampp/etc/proftpd.conf The ProFTPD configuration file. (since 0.9.5)
/opt/lampp/phpmyadmin/
config.inc.php
The phpMyAdmin configuration file.

UNINSTALL XAMPP

To uninstall XAMPP, type:
rm -rf /opt/lampp



Comments
Add New Search RSS
Leave feedback
Name:
Your email:
 
Website:
Message Title:
Formatting:
[b] [i] [u] [url] [quote] [code] [img] 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
Enter the text as you see it in the image.

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

 

!!REMEMBER: Support Forums!!

I still keep getting requests for support in the comments of posts and unfortunately I cannot give adequate responses due to the fact there's limited space and it just isn't the right place for support.
I therefore am encouraging visitors to PLEASE go to http://forum.myownserver.info for any support related questions. You will NOT receive any spam or anything you don't specifically subscribe to! I'm very meticulous about this myself and if at any time you need help stopping notifications from posts you previously subscribed to, contact me and I will promptly fix the issue.

Thank you for your participation in this!

Open SourceApache HTTP Server ProjectMySQLPHP
Twitter Feed
Make a Donation
This site does not run ads nor does anyone fund it. The owner and author is unemployed and pays for it himself, so if you're feeling generous, please make a donation of any amount to help out. Thank you very much.

Powered by easy paypal donation

Survey
Which is better?
 
Search
User Login



Visitors


Countries

30.2%United States United States
8.5%United Kingdom United Kingdom
7.7%India India
4.7%Australia Australia
4.5%Canada Canada

Visitors

Today: 25
Yesterday: 192
This Week: 25
Last Week: 1223
This Month: 894
Last Month: 4933
Total: 52612


JoomlaWatch Stats 1.2.9 by Matej Koval