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
————————————————————————————————————————————————————————————————
Start XAMPP
command: /opt/lampp/lampp start
Stop XAMPP
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/config.inc.php
If you have any doubt about any post feel free to comment and get solved tham.
Thanks
Gihan Malan De Silva.