ApacheFriends XAMPP for windows Version 1.1 * WindowsApache + MySQL +PHP + Perl + Apache 2.0.47 + MySQL 4.0.16 + PHP 4.3.3 + PEAR + mod_php 4.3.3 + Perl 5.8.0 + mod_perl 1.99_10 dev + mod_ssl 2.0.47 + openssl 0.9.7b + mod_auth_mysql (only experimental) * Features + PHPMyAdmin 2.5.3 + Webalizer 2.01-10 + Mercury Mail Transport System for Win32 and NetWare Systems v3.32 + JpGraph 1.12.1 (only for non-commercial, open-source and educational use) + FileZilla FTP Server 0.8.7 + Oswalds CD Collection v0.2 (!) + PHP mcrypt() 2.4 + Turck MMCache 2.4.4 (PHP accelerator, optimizer, encoder and dynamic content cache for PHP) * System Requirements: + 64 MB RAM (recommended) + 140 MB free Fixed Disk + Windows 98, ME, XP Home + Windows NT, 2000, XP Professional (Recommended) SCHNELLINSTALLATION (QUICK INSTALLATION): Schritt 1: Das Paket in ein Verzeichnis eurer Wahl entpacken. Step 1: Unpack the package into a directory of your choice. Schritt 2: Die Datei "setup_xampp.bat" xampp Verzeichnis starten und mit der Eingabe der Zahl 1 die Installation mit MOD_PERL beginnen. Die Eingabe der Zahl 2 bedeutet ein Setup ohne MOD_PERL! MOD_PERL in dieser Konfiguration verzögert den START und STOP des Apache Servers.Bemerkung: xampp macht keine Einträge in die Windows Registry und setzt auch keine Systemvariablen etc. Step 2: Please start "setup_xampp.bat". Enter the number 1 to beginning the installation with MOD_PERL. Without MOD_PERL use number2. MOD_PERL in this Configuration delaying START and STOP of the Apache Server. Note: xampp makes no entries in the windows registry and no settings for the system variables etc. Schritt 3: Nach hoffentlich erfolgreicher Installation den Apache 2 starten mit "apache_start".bat", MySQL mit "mysql_start".bat". Den MySQL stoppen mit "mysql_stop.bat". Den Apache 2 stoppen durch einfaches schließen der Apache Kommandoforderung (CMD). Step 3: If installation ends successfully, start the Apache 2 with "apache_start".bat", MySQL with "mysql_start".bat". Stop the MySQL Server with "mysql_stop.bat". For shutdown the Apache HTTPD, only close the Apache Command (CMD). Schritt 4: Öffne deinen Internet Browser und gebe http://127.0.0.1 oder http://localhost ein. Danach gelangst du zu den zahlreichen ApacheFriends Beispielen auf deinem lokalen Server. Step 4: Start your browser and type http://127.0.0.1 or http://localhost in the location bar. You should see our pre-made start page with certain examples and test screens. Schritt 5: Das Hauptdokumentenverzeichnis für HTTP ist \...\xampp\htdocs. PHP kann die Endungen *.php, *.php4, *.php3, *.phtml haben, *.shtml für SSI, *.cgi für CGI (z.B. perl). Step 5: PHP (with mod_php, as *.php, *.php4, *.php3, *.phtml), Perl by default with *.cgi, SSI with *.shtml are all located in \...\\xampp\htdocs\. Beispiele (Examples): \...\xampp\htdocs\test.php => http://localhost/test.php \...\xampp\myhome\test.ph => http://localhost/myhome/test.php Schritt 6: XAMPP DEINSTALLIEREN? Einfach das "xampp" Verzeichnis löschen. Vorher aber den Apache und Mysql stoppen. Step 6: XAMPP UNINSTALL? Simply remove the "xampp" Directory. But before please shutdown the apache and mysql. --------------------------------------------------------------- ONLY FOR NT SYSTEMS - NUR FÜR NT SYSTEME (NT4 | windows 2000 | windows xp professional) \...\xampp\apache\apache_installservice.bat = ==> Install Apache 2 as service ==> Installiert des Apache 2 als Dienst \...\xampp\apache\apache_uninstallservice.bat = ==> Uninstall Apache 2 as service ==> Deinstalliert des Apache 2 als Dienst \...\xampp\apache\mysql_installservice.bat = ==> Install MySQL as service ==> Installiert MySQL als Dienst \...\xampp\apache\mysql_uninstallservice.bat = ==> Uninstall MySQL as service ==> Deinstalliert MySQL als Dienst ==> After all Service (un)installations, better restart system! ==> Nach allen Dienst(de)installationen, system neustarten! --------------------------------------------------------------- Hinweise (Notes): (1) Im Gegesatz zu dem Apache 1.x kann der Apache 2 bei einen manuellen Start nicht mit "apache -k shutdown" gestoppt werden. Das funktioniert nur als Dienstinstallation unter NT Systemen. Also die Apache START Eingabeforderungen zum stoppen einfach schließen. (1) In contrast of apache 1.x, you can not stop the apache2 with the command "apache -k shutdown". These functions only for an installations as service by NT systems. So, simply close the Apache START command for shutdown. (2) Für Mod_Dav experimentell. Zum laden von Web_DAV nur die Module mod_dav.so + mod_dav_fs.so in der httpd.conf entkommentieren (# entfernen). Dann für http://127.0.0.1:81 einrichten und testen! (nicht für MS Frontpage, einzig für Adobe Dreamweaver) (2) To use the experimental version of Mod_Dav load the Modules mod_dav.so + mod_dav_fs.so in the httpd.conf by removing the # on the beginning of their lines. Then try http://127.0.0.1:81 (not for Frontpage, but for Dreamweaver) (3) Für mod_auth_mysql experimentell. Das Modul ebenfalls einfach in der "httpd.conf" entkomentieren. Weitere Hinweise zu diesem Modul findet Ihr auf der Hauptseite dieses xampp-Pakets. (3) To use the experimental version of mod_auth_mysql remove the # in the httpd.conf. Detailed information about this topic can be found on the left menu of xampp, once you started it. (4) Hinweis: Zum (ersten) Starten und Stoppen des FileZilla FTP Servers die Dateien "FileZillaFTP_start.bat" bzw. "FileZillaFTP_stop.bat" benutzen. (4) Note: To start or stop the FileZilla FTP Servers please use the "FileZillaFTP_start.bat" or "FileZillaFTP_stop.bat". (5) Hinweis: Zum Starten des Mercury Mailservers (SMTP und POP3) die Datei "mercury_start.bat" benutzen. (5) Note: To start the Mercury mail server (SMTP and POP3) please use the "mercury_start.bat". MYSQL NOTES: + The MySQL server can be started by double-clicking (executing) mysql_start.bat. This file can be found in the same folder you installed xampp in, most likely this will be C:\xampp\. The exact path to this file is X:\xampp\mysql_start.bat, where "X" indicates the letter of the drive you unpacked xampp into. This batch file starts the MySQL server in console mode. The first intialization might take a few minutes. Do not close the DOS window or you'll crash the server! To stop the server, please use mysql_shutdown.bat, which is located in the same directory. To use the MySQL Daemon with "innodb" for better performance, please edit the "my" (or "my.cnf") file in the /xampp/mysql/bin directory or for services the c:\my.cnf for windows NT/2000. In there, activate the "innodb_data_file_path=ibdata1:30M" statement. Attention, "innodb" is not recommended for 95/98/ME/XP Home. To use MySQL as Service for NT/2000/XP Professional, simply copy the "my" / "my.cnf" file to C:\my, or C:\my.cnf. Please note that this file has to be placed in C:\ (root), other locations are not permitted. Then execute the "mysql_installservice.bat" in the mysql folder. + Um den mysqld zu starten bitte Doppelklick auf \xampp\mysql_start.bat. Der MySQL Server startet dann im Konsolen-Modus. Das dazu gehörige Konsolenfenster muss offen bleiben (!!) Zum Stop bitte die mysql_shutdown.bat benutzen! Um den MySQL Daemon von diesem Paket mit "innodb" für bessere Performance zu nutzen, editiert bitte die "my" bzw."my.cnf" im /xampp/mysql/bin Verzeichnis bzw. als Dienst die C:\my.cnf unter NT/2000. Dort akiviert ihr dann die Zeile "innodb_data_file_path=ibdata1:30M". Achtung, "innodb" kann ich derzeit nicht für 95/98/ME/XP Home empfehlen, da es hier immmer wieder zu blockierenden Systemen kam. Also nur NT/2000/XP Professional ! Wer MySQL als Dienst unter NT/2000/XP Professional benutzen möchte, muss unebdingt (!) vorher die "my" bzw."my.cnf unter c:\ (also c:\my.cnf) implementieren. Danach die "mysql_installservice.bat" im mysql-Ordner aktivieren. + MySQL starts with standard values for the user id and the password. The preset user id is "root", the password is "" (= no password). To access MySQL via PHP with the preset values, you'll have to use the following syntax: mysql_connect("localhost","root",""); If you want to set a password for MySQL access, please use of mysqladmin. To set the passwort "secret" for the user "root", type the following: C:\xampp\mysql\bin\mysqladmin -u root password secret After changing the password you'll have to reconfigure PHPMyAdmin to use the new password, otherwise it won't be able to access the databases. To do that, open the file config.inc.php in \xampp\phpmyadmin\ and edit the following lines: $cfg['Servers'][$i]['user'] = 'root'; // MySQL user $cfg['Servers'][$i]['auth_type'] = 'http'; // HTTP authentificate So first the 'root' password is queried by the MySQL server, before PHPMyAdmin may access. + Der MySQL-Server startet ohne Passwort für MySQl-Administrator "root". Für eine Zugriff in PHP sähe das also aus: mysql_connect("localhost","root",""); Ein Passwort für "root" könnt ihr über den mysqladmin in der Eingabforderung setzen. Z.B: \xampp\mysql\bin\mysqladmin - u root password geheim Wichtig: Nach dem einsetzen eines neuen Passwortes für root muss auch PHPMyAdmin informiert werden! Das geschieht über die Datei "config.inc.php" zu finden als \xampp\phpmyadmin\config.inc.php. Dort also folgenden Zeilen editieren: $cfg['Servers'][$i]['user'] = 'root'; // MySQL user $cfg['Servers'][$i]['auth_type'] = 'http'; // HTTP Authentifzierung So wird zuerst das 'root' Passwort vom MySQL Server abgefragt, bevor PHPMyAdmin zugreifen darf. + WEBDAV => User: wampp |Password: xampp Have a lot of fun! Viel Spaß! Bonne Chance! Last revised version 27.10.2003 Kay Vogelgesang