Before Installing Xampp. Remove all packages of mysql, appacher and php. Otherwise Deadlock condition will occur
# yum remove mysql*
# yum remove httpd*
#yum remove php*
[root@www Desktop]# ls
xampp-linux-1.8.1.tar.gz
[root@www Desktop]# mv xampp-linux-1.8.1.tar.gz /opt
[root@www Desktop]# cd /opt
[root@www opt]# ls
xampp-linux-1.8.1.tar.gz
[root@www opt]# tar xvzf xampp-linux-1.8.1.tar.gz
[root@www opt]# ls
lampp xampp-linux-1.8.1.tar.gz
[root@www lampp]# ./lampp
XAMPP: SELinux is activated. Making XAMPP fit SELinux…
Usage: ./lampp <action>
start Start XAMPP (Apache, MySQL and eventually others)
startapache Start only Apache
startssl Start only SSL support
startmysql Start only MySQL
startftp Start only ProFTPD
stop Stop XAMPP (Apache, MySQL and eventually others)
stopapache Stop only Apache
stopssl Stop only SSL support
stopmysql Stop only MySQL
stopftp Stop only ProFTPD
reload Reload XAMPP (Apache, MySQL and eventually others)
reloadapache Reload only Apache
reloadmysql Reload only MySQL
reloadftp Reload only ProFTPD
restart Stop and start XAMPP
security Check XAMPP’s security
php5 Activate PHP5
phpstatus Which version of PHP is active?
backup Make backup file of your XAMPP config, log and data files
panel Starts graphical XAMPP control panel
[root@www lampp]# ./lampp start
Starting XAMPP for Linux 1.8.1…
XAMPP: Starting Apache with SSL (and PHP5)…
XAMPP: Starting MySQL…
XAMPP: Another FTP daemon is already running.
XAMPP for Linux started.
[root@www lampp]# firefox http://www.mc712.com



[root@www Desktop]# cd /opt/lampp/
[root@www lampp]# cd htdocs/
[root@www htdocs]# ls
favicon.ico index.php webalizer xampp
[root@www htdocs]# mkdir folder
[root@www htdocs]# ls
favicon.ico folder index.php webalizer xampp
[root@www htdocs]# cd folder
[root@www folder]# vim index.html
HELLO WORLD
[root@www folder]# ls
index.html
[root@www ~]# firefox http://www.mc712.com/folder
OR
[root@www ~]# firefox LOCALHOST/folder




