3. Linux, Mac, Windows
3.1 Linux
3.2 Mac (not ready)
3.3 Windows (not ready)
3.3.1 Known
issues
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 one of the many solutions when you want to run Website@School on your own your Linux, Mac, Solaris or Windows computer.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.
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«.
Reading this chapter does not relieve you from reading the Installation chapter, section 1.2.2. User requirements
dirk@c36:~/Downloads:$ sudo ./xampp-linux-5.6.3-0-installer.run [sudo] password for dirk:Enter your password and hit [Enter]. The installation starts with the Setup - XAMpp
Yes indeed....
Starting XAMPP:
dirk@c36:~$ sudo /opt/lampp/lampp start [sudo] password for dirk: Starting XAMPP for Linux 5.6.3-0... XAMPP: Starting Apache...ok. XAMPP: Starting MySQL...ok. XAMPP: Starting ProFTPD...ok. dirk@c36:~$
Stoppintg XAMP:
dirk@c36:~$ sudo /opt/lampp/lampp stop Stopping XAMPP for Linux 5.6.3-0... XAMPP: Stopping Apache...ok. XAMPP: Stopping MySQL...ok. XAMPP: Stopping ProFTPD...ok. dirk@c36:~$
Now shut down your Linux box and star up again. This forces you to manually start XAMPP. It's an extra check. Better to check now than hours, days, month later find out ... @Q!@#$%!!
root@c37:/opt/lampp# /opt/lampp/xampp security XAMPP: Quick security check... XAMPP: Your XAMPP pages are NOT secured by a password. XAMPP: Do you want to set a password? [yes] XAMPP: Password: XAMPP: Password (again): XAMPP: Password protection active. Please use 'xampp' as user name! XAMPP: MySQL is accessable via network. XAMPP: Normaly that's not recommended. Do you want me to turn it off? [yes] XAMPP: Turned off. XAMPP: Stopping MySQL...ok. XAMPP: Starting MySQL...ok. XAMPP: The MySQL/phpMyAdmin user pma has no password set!!! XAMPP: Do you want to set a password? [yes] XAMPP: Password: XAMPP: Password (again): XAMPP: Setting new MySQL pma password. XAMPP: Setting phpMyAdmin's pma password to the new one. XAMPP: MySQL has no root passwort set!!! XAMPP: Do you want to set a password? [yes] XAMPP: Write the password somewhere down to make sure you won't forget it!!! XAMPP: Password: XAMPP: Password (again): XAMPP: Setting new MySQL root password. XAMPP: Change phpMyAdmin's authentication method. XAMPP: The FTP password for user 'daemon' is still set to 'xampp'. XAMPP: Do you want to change the password? [yes] XAMPP: Password: XAMPP: Password (again): XAMPP: Reload ProFTPD...ok. XAMPP: Done. root@c37:/opt/lampp#
root@c36:/opt/lampp# pwd /opt/lampp root@c36:/opt/lampp# mkdir wasdata root@c36:/opt/lampp# chmod 700 wasdata root@c36:/opt/lampp# chown daemon.root wasdata root@c36:/opt/lampp# ls -l [snip] drwx------ 2 daemon root 4096 2013-12-23 14:22 wasdata [snip] root@c36:/opt/lampp#
root@c36:/opt/lampp/htdocs# pwd /opt/lampp/htdocs root@c36:/opt/lampp/htdocs# chown daemon.root config.php root@c36:/opt/lampp/htdocs# chmod 400 config.php root@c36:/opt/lampp/htdocs# ls -l [snip] -r-------- 1 daemon root 722 2013-12-23 15:34 config.php [snip] root@c36:/opt/lampp/htdocs#
Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\program\lib\database\mysql.class.php on line 295It 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
A fix until the release of Website@School 0.90.6b: