RSS flow:

xampp for Linux


    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:

Different files location

    Web pages




    Apache configuration file


    MySQL configuration file


    PHP configuration file


    FTP server configuration file



    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


    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