Some Useful important things about XAMMP for Linux

14 06 2011

Hi, today I’ll mention some important things on XAMPP.

How to set XAMPP to start up programs

(XAMPP will automatically starts with the computer starts)

First login as root user

Now press (Clrt+Alt+T) to open Terminal window
then type sudo -s -H
then enter this command,
command: sudo ln -s /opt/lampp/lampp /etc/init.d/lampp

                    sudo update-rc.d -f lampp defaults

Uninstall XAMPP

First login as root user. then use this on terminal,

command: rm -rf /opt/lampp



command: /opt/lampp/lampp start


command: /opt/lampp/lampp stop

Stop and start XAMPP

command: /opt/lampp/lampp restart

Start only the Apache

command: /opt/lampp/lampp startapache

Start the Apache SSL support

command: /opt/lampp/lampp startssl

Start only the MySQL database

command: /opt/lampp/lampp startmysql

Start the ProFTPD server

command: /opt/lampp/lampp startftp

Stop the Apache

command: /opt/lampp/lampp stopapache

Stop the Apache SSL support

command: /opt/lampp/lampp stopssl

Stop the MySQL database

command: /opt/lampp/lampp stopmysql

Stop the ProFTPD server

command: /opt/lampp/lampp stopftp

Start a small security check programm

command: /opt/lampp/lampp security


Important Files and Directories

The XAMPP commands home—>                 /opt/lampp/bin/
The Apache Document Root directory—>   /opt/lampp/htdocs/
The Apache configuration file—>                 /opt/lampp/etc/httpd.conf
The MySQL configuration file—>                /opt/lampp/etc/my.cnf
The PHP configuration file—>                       /opt/lampp/etc/php.ini
The ProFTPD configuration file—>              /opt/lampp/etc/proftpd.conf
The phpMyAdmin configuration file—>     /opt/lampp/phpmyadmin/

If you have any doubt about any post feel free to comment and get solved tham.


Gihan Malan De Silva.




One response

13 11 2011

everything started correctly…but where to put the php or jsp code and how to execute it…please tell…

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: