Actions

 Language:
 RSS flow:


xampp for Linux


Overview

    xampp (formerly called lampp) is an Apache server, PHP, MySQL, FTP for Linux small, robust, and has many avantages.

Download lamp

Xampp installation

    Installation must be done with root user, with the following commands:
    tar xvfz xampp-linux-1.6.8a.tar.gz -C /opt

Launching xampp

    With root user, launch the following command:
    /opt/lampp/lampp start

    To start only Apache

    /opt/lampp/lampp startapache

    To start only FTP server

    /opt/lampp/lampp startftp

    To start only MySQL server

    /opt/lampp/lampp startsql

    To reload configuration

    /opt/lampp/lampp reload

Default URL

    Default URL, to connect with a web browser is:
      http://localhost

Different files location

    Web pages

    /opt/lampp/htdocs

    Databases

    /opt/lampp/var/mysql

    Apache configuration file

    /opt/lampp/etc/httpd.conf

    MySQL configuration file

    /opt/lampp/etc/my.cnf

    PHP configuration file

    /opt/lampp/etc/php.ini

    FTP server configuration file

    /opt/lampp/etc/proftpd.conf

Features

    xampp can use php4 and php5. To switch from one to another:

    To use php4

    /opt/lampp/lampp php4

    To use php5

    /opt/lampp/lampp php5

Uninstallation

    rm -rf /opt/lampp

Some personal notes

    When use xampp

    For a test web server easy to install, portable, easy to configure that runs on any machine (including my eee pc)

    When do not xampp

    On a production server, until it is not secure

 

Go back