XAMPP installation

Contents

1. Introduction

2. Problems

3. Linux, Mac, Windows
    3.1 Linux
    3.2 Mac (not ready)
    3.3 Windows (not ready)
        3.3.1 Known issues

4. To conclude

1. Introduction

XAMPP is easy, but...
From their blurb:
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, Perl and more. XAMPP is really very easy to install and to use - just download, extract and start.

XAMPP is one of the many solutions when you want to run Website@School on your own your Linux, Mac, Solaris or Windows computer.
Please see http://www.apachefriends.org/en/xampp.html for details and downloads.

And now for the 'but ...'
NOTE: Please read the following security information from the Apachefriends:

The philosophy behind XAMPP is to build an easy to install distribution for developers to get into the world of Apache. To make it convenient for developers XAMPP is configured with all features turned on. The default configuration is not good from a security point of view and it's not secure enough for a production environment - please don't use XAMPP in such environment. Since LAMPP 0.9.5 you can make your XAMPP installation secure by calling »/opt/lampp/lampp security«.

(top)

2. Problems

XAMPP may be easy, but every type of installation may or may not have it's own quirks. That's why we describe a couple of installations up to the level where Website@School is actually working.

Reading this chapter does not relieve you from reading the Installation chapter, section 1.2.2. User requirements

(top)

3. Linux, Mac, Windows

Please help us by creating an installation guide for Mac and Windows.

3.1 Linux

The installation of XAMPP was performed on Ubuntu Linux version 10.10 with XAMPP version 1.8.2-3. The installer was user dirk on a PC called c36.

Test XAMPP

Secure XAMPP

NOTE: how to start and stop XAMPP:
dirk@c36:~$ sudo /opt/lampp/lampp start
[sudo] password for dirk:
Starting XAMPP for Linux 1.8.2-3...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
dirk@c36:~$
dirk@c36:~$ sudo /opt/lampp/lampp stop
Stopping XAMPP for Linux 1.8.2-3...
XAMPP: Stopping Apache...ok.
XAMPP: Stopping MySQL...ok.
XAMPP: Stopping ProFTPD...ok.
dirk@c36:~$

Preparations for the installation of Website@School

Testing

3.2 Mac (not ready)

Please help us with instructions!

3.3 Windows (not ready)

Please help us with instructions!

3.3.1 Known issues

Bert reports he cannot install Website@School because of:
Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\program\lib\database\mysql.class.php on line 295
It is true that the last step in the installation takes quite some time. Maybe it can be solved in a future release by letting the program ask for extra exection time.

The installation fails because 30 seconds apparentlly is not enough to complete the installation. Reasons can be: - The installation takes time because of the huge amount of Demonstration data (The Exemplum Primary School, users, Areas, sections, pages, modules, etc).
- The PC is too slow for the default 'max_execution_time' of the file php.ini, which is set to 30 seconds.

Workarounds:
- Raise 'max_execution_time' in php.ini.
- Install without Demonstration Data
- Faster PC

4. To conclude

(top)

Author: Dirk Schouten <dirk (at) websiteatschool (dot) eu>
Last updated: 2014-09-06