Friends

Sunday, January 23, 2011

How to install Xampp?

Many people know from their own experience that it’s not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and Perl.XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use – just download, extract and start. Just download it from: http://www.apachefriends.org/en/xampp.html
Install xampp using command line:
$sudo tar xvzf xampp-linux-1.6.2.tar.gz -C /opt
$cd /opt/lampp
$sudo ./lampp start

or you can choose which service that you only want to run.
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
php4 Activate PHP4
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

To test it, just open your web browser (Firefox) then type: http://localhost
If the installation process is correct then you will see the xampp main page.

0 comments:

Post a Comment

#
### ###