Académique Documents
Professionnel Documents
Culture Documents
If you enjoy using XAMPP and would like to help in carrying some of the
financial burden of the project, we would greatly appreciate your voluntary
support payment. Please note that this is not considered a tax-deductible
donation.
Ads
Windows Installer Fix Repair windows installer:
Fix Windows Installer Problems! Free Fix windows installer problems. Takes 3
Download - 100% Satisfaction. Mins. Free download.
WindowsHelp.net www.Errorsmart.com
Big thanks to Chris from www.nat32.com for his fast adaption of his XAMPP Control Panel.
Download older versions of XAMPP (even the "old" WAMPP) directly from Source Forge.
Jump-off point
Download
XAMPP
XAMPP Add-Ons
XAMPP Lite
The Installation
http://www.apachefriends.org/en/xampp-windows.html 9-5-2008
apache friends - xampp for windows pagina 2 van 14
The Practice
The Uninstallation
Basic Questions
READ ME
XAMPP
Installer
Easy and safe: XAMPP with a comfortable installer.
ZIP archive
For purists: XAMPP as ordinary ZIP archive.
Self-extracting ZIP archive
Economical: XAMPP as very small self-extracting 7-ZIP archive.
http://www.apachefriends.org/en/xampp-windows.html 9-5-2008
apache friends - xampp for windows pagina 3 van 14
XAMPP Windows 1.6.6a Apache HTTPD 2.2.8, MySQL 5.0.51a, PHP 5.2.5 + 4.4.8 + PEAR + Switch,
Openssl 0.9.8g, PHPMyAdmin 2.11.4, XAMPP Control Panel 2.5, Webalizer
[Basic package] 2.01-10, Mercury Mail Transport System v4.52, FileZilla FTP Server 0.9.25,
SQLite 2.8.15, ADODB 4.96, Zend Optimizer 3.3.0a, XAMPP Security, Ming.
For Windows 98, 2000, XP. See also README
Installer 34 MB Installer
MD5 checksum: 22f3640c638b8413526fc5d8e0cced26
Devel Package 1.6.6a Development Package with Include and Lib-Files from the Apache 2.2.8,
MySQL 5.0.51a, PHP 5.2.5 + 4.4.8, OpenSSL 0.9.8g, zlib 1.2.3..
Upgrade Package With Apache 2.2.8, MySQL 5.0.51a, PHP 5.2.5 + 4.4.8, phpMyAdmin
2.11.4, FileZilla FTP Server 0.9.25 for XAMPP 1.6.5 + 1.6.6. CHANGES
1.6.6a
Installer 21 MB Installer
MD5 checksum: 598b2179e65b2367f20093366176330e
XAMPP Add-Ons
The following packages are extensions (add-ons) for the above XAMPP package.
Perl 5.8.8-2.2.8 Perl 5.8.8 and mod_perl 2.0.3 Add-on package for the current XAMPP 1.6.6
with Apache 2.2.8. Needs NT, 2000 or XP systems! For the older XAMPP
XAMPP 1.6.6 Version you need the older Perl XAMPP add-ons on www.sourceforge.net.
Apache 2.2.8 See also README + PPM Modules inside
Installer 33 MB Installer
MD5 checksum: 8c3f5deb766918d389dac2de3fdcf92d
Tomcat 6.0.14 Tomcat 6.0.14 and mod_jk 1.2.23 for the XAMPP base package 1.6.x.
NEEDS SUN J2SE SDK 5/6. The Addon Installer is build for the XAMPP
XAMPP 1.6.x Installer Version only. See also README
Installer 6 MB Installer
MD5 checksum: 4c3fa9fa8eef7773415f6e5b5fa743bb
http://www.apachefriends.org/en/xampp-windows.html 9-5-2008
apache friends - xampp for windows pagina 4 van 14
XAMPP Lite
»XAMPP Lite« is an additional extra small XAMPP edition. It's the successor of the old
MiniXAMPP. But in contrast to the big XAMPP it's not updated really often.
XAMPP Lite
Version Size Content
XAMPP Lite 1.6.6a XAMPP Lite is a very reduced version of XAMPP with Apache 2.2.8 + PHP
5.2.5 + MySQL 5.0.51a + phpMyAdmin 2.11.4 + OpenSSL 0.9.8g + SQLite
2.8.15. For lovers! For the lite versions exist no upgrades or addons.
XAMPP Lite is an only "Take-Run-Delete-Forget-it" package.
http://www.apachefriends.org/en/xampp-windows.html 9-5-2008
apache friends - xampp for windows pagina 5 van 14
After the installation is complete, you will find XAMPP under Start / Programs / XAMPP. You
can use the XAMPP Control Panel to start/stop all server and also install/uninstall services.
The XAMPP control panel for start/stop Apache, MySQL, FilaZilla & Mercury or install these
server as services
http://www.apachefriends.org/en/xampp-windows.html 9-5-2008
apache friends - xampp for windows pagina 6 van 14
Download and unzip the 7-zip or zip archives into the folder of your choice.
In this case, we unpacked XAMPP to D:\Program Files and will get a D:\Program
Files\XAMPP folder. Next, open the XAMPP folder and run the "setup-xampp.bat" file.
http://www.apachefriends.org/en/xampp-windows.html 9-5-2008
apache friends - xampp for windows pagina 7 van 14
Finally, start the different servers with the existing start/stop batch files or use the GUI
version "xampp-control.exe".
Note: If you work with the Installer version of XAMPP, you do not need to execute
"setup_xampp.bat".
If you extract XAMPP in a top level folder like c:\xampp or d:\xampp etc., you can start
XAMPP directly. That means you do not need to execute the "setup_xampp.bat" at all.
Apache, MySQL and Mercury Mail server will start up correctly! FileZilla FTP server will not
start because it requires absolute paths. Please note: Do not use a double-xampp-folder like
c:\xampp\xampp! You need a single-xampp folder like d:\xampp(\apache and so on).
Otherwise you must run the "setup-xampp.bat" to set up the path configurations.
The universal control center is the XAMPP Control from www.nat32.com which is not
included in the Lite version.
.\xampp\xampp-control.exe
http://www.apachefriends.org/en/xampp-windows.html 9-5-2008
apache friends - xampp for windows pagina 8 van 14
Test: After Apache starts, open the URL http://localhost or http://127.0.0.1 and examine all
of the XAMPP examples and tools.
You can install some servers as a service under these platforms: NT4, 2000/2003, XP and
(sometimes) Vista. Therefore you can use one of these scripts:
Many additional addons exist for the development with the main package. At the moment,
the official addons for win32 from this side are:
The recommended rule for the installation is this: The XAMPP Installer version needs the
Installer Addon, the ZIP (7-Zip) package needs the ZIP (7-Zip) Addon. For the ZIP Addon
http://www.apachefriends.org/en/xampp-windows.html 9-5-2008
apache friends - xampp for windows pagina 9 van 14
please unpack the package into the XAMPP main directory directly. Afterwards execute the
"setup_xampp.bat". That's all. Installer Addon package makes everything automatically.
There is nothing to do.
Note: Everyone can build a new XAMPP Addon for his project. For example you will find
some other addons for XAMPP at http://sourceforge.net/projects/xamppaddon.
When individual components of the XAMPP collection are upgraded, we will bring XAMPP up
to date as well. However, some developments are not compatible to our last release and so
we cannot upgrade these elements. Usually we are able to update all servers and
programms in XAMPP. NOT the configuration files because you could have modified them.
Tip: If you have the installer version it is much easier to use the installer upgrade. All
others should take the (7-)ZIP archive. Extract that package in the XAMPP folder directly
and overwrite the older files.
As mentioned before, XAMPP is not meant for production use but only for developers in a
development environment. XAMPP is configured is to be as open as possible and to allow
the web developer anything he/she wants. For development environments this is great but
in a production environment it could be fatal.
Please secure XAMPP before publishing anything online. A firewall or an external router are
only sufficient for low levels of security. For slightly more security, you can run the "XAMPP
Security console" and assign passwords.
http://www.apachefriends.org/en/xampp-windows.html 9-5-2008
apache friends - xampp for windows pagina 10 van 14
To fix the most important of the security weaknesses simply call the following URL (access
only from localhost):
The root password for MySQL, PhpMyAdmin, and also a XAMPP directory protection can be
established here. For Mercury and FileZilla, please remember to change the configuration
settings (e.g. user and passwords). Or if you do not need any of these servers, simply do
not start them -- That is secure, too.
If you installed with the Installer version, please use the Uninstaller! The Uninstaller will
delete all XAMPP entries from your registry and it will uninstall some installed services
included with XAMPP. We highly recommend that you use the Uninstall program for
removing XAMPP installations from the Installer version.
http://www.apachefriends.org/en/xampp-windows.html 9-5-2008
apache friends - xampp for windows pagina 11 van 14
Shut down the XAMPP server and exit all panels. If you installed any services, shut them
down too.
To uninstall XAMPP that was installed from ZIP packages, simply delete the entire folder
where XAMPP is installed. There are no registry entries and no environment variables to
clean up... just simply good, clean code! Don't forget to uninstall any services you might
have installed.
The main folder for all WWW documents is at \xampp\htdocs. If you put a test.html file
here you can browse for it at http://localhost/test.html (if Apache server is running). Use
the same procedure with all PHP or cgi files. You can create subfolders for your content too.
For example, create the folder \xampp\htdocs\new and copy your test.html file there. Then
enter the URL http://localhost/new/test.html to view this in your browser.
http://www.apachefriends.org/en/xampp-windows.html 9-5-2008
apache friends - xampp for windows pagina 12 van 14
Yes, but only if you installed it using the ZIP (z-zip) archive method. After moving the
XAMPP package, you must execute the "setup-xampp.bat" to update all configuration files.
In this case you can make a copy of XAMPP and put this in a directory somewhere. At last
execute the "setup-xampp" and make your tests. Try it out.
If you installed with the Installer, then you must completely uninstall XAMPP and reinstall it
at the new location. This is the only way to ensure that all changes made to the registry are
cleaned up, and updated for the new location.
Question 4: How can I generate "automatic start sites" or default start pages?
If you browse to a folder like http://localhost/xampp/ the Apache server will return a start
site automatically. The Apache server looks for a start page for your site, such as
index.html or index.php. This is configurable from the "DirectoryIndex" directive in the
httpd.conf file. Here you can define the names and the arrangement for your start sites.
Question 5: How can I switch between PHP5 and PHP4 and back?
XAMPP (not Lite!) contains both PHP5 and PHP4. To switch between the versions please use
the "php-switch.bat" ($path-to-xampp\xampp\php-switch.bat). NOTE: The Apache server
must be stopped before you make these changes.
You adjust XAMPP settings with plain-text configuration files. The following files exist:
No! You can work "offline" with XAMPP. In other words, you do NOT have to be connected
to the Internet, because your own computer will provide all the hosting and serving
features.
http://www.apachefriends.org/en/xampp-windows.html 9-5-2008
apache friends - xampp for windows pagina 13 van 14
Directory Content
\xampp\anonymous Anonymous FTP example folder
\xampp\apache Apache server directory
\xampp\cgi-bin Dir for executing cgi scripts
\xampp\FileZillaFTP FileZilla FTP server directory
\xampp\htdocs Main http docs directory
\xampp\install For Setup XAMPP (do not delete!)
\xampp\licenses Dito
\xampp\MercuryMail Mercury Mail SMTP POP3 IMAP server dir
\xampp\mysql MySQL server directory
\xampp\perl Perl directory
\xampp\php PHP (4+5) directory
\xampp\phpmyadmin phpMyAdmin directory
\xampp\security Extra directory for security configs
\xampp\tmp The temporary folder
\xampp\webalizer Webalizer web statistic directory
\xampp\webdav WebDAV Authoring example folder
For all NT/2000 users, in both packages you will find the install and uninstall files to build all
servers as services in the respective directories.
After all changes don't forget to restart your system. Note! To uninstall the mysql service
you must first of all have stopped the mysql service!
MySQL starts without a password for "root". So in PHP you can connect the MySQL-Server
with: mysql_connect("localhost","root","");
If you want to set a password for "root" in MySQL, please use "mysqladmin" under Console.
For example:
http://www.apachefriends.org/en/xampp-windows.html 9-5-2008
apache friends - xampp for windows pagina 14 van 14
Attention. After changing the password for root, don't forget to inform PHPMyAdmin. Search
the "config.inc.php" under \...\xampp\phpmyadmin\ and edit the following lines:
Now the correct password for "root" is required, before PHPMyAdmin starts.
http://www.apachefriends.org/en/xampp-windows.html 9-5-2008