This tutorial has been written to help you install XAMPP on 32bit Ubuntu 11.10 or 12.04 Linux. First let me answer the question why install XAMPP rather than installing Apache, MYSQL and PHP from the Ubuntu repository. XAMPP gives you everything to run a test web server in a single portable package theoretically making it easy to copy the configuration between machines. XAMPP also gives you an easy way to only start the web server when required.
After installing an testing your web server you will want to add your own site for it to serve. This guide is to help you set up a folder that will contain your websites. It follows on from the Setting up a development Apache 2 web-server guide. Steps 1 to 3 are required while step 4 is optional. The use of virtual servers will be covered in the next tutorial.
In this guide substitute [username] for your username.
The most common type of web-server available is based on the LAMP (Linux, Apache, MySQL, PHP) bundle, so in this tutorial I will cover creating a web development server based on these components. Another common component is phpMyAdmin which is a web base MySQL administration tool so we are going to include it in our tutorial.
This tutorial guides you through installing Apache 2, MySQL 5, PHP 5 and phpMyAdmin for use as a development web-server on Ubuntu Linux. All these packages are available in the Ubuntu software centre at the versions we require.