![]() |


Welcome to XAMPP for Mac OS X
XAMPP for Mac OS X is the simplest, most practical and most complete webserver solution for Mac OS X. The distribution includes an Apache 2 web server, integrated with the latest builds of MySQL, PHP (both 4 and 5) and Perl. It comes as a Mac OS X Installer package which contains all the necessary files and requires no dependencies.
If you are an experienced web developer or a Mac enthusiast who needs to run a webserver, create dynamic webpages or use databases, this is your lucky day!
This version is for Mac OS X 10.4 (Intel&PPC) and higher.
Jump-off point
Installation in 4 Steps
Step 1: Download
Step 2: Installation
Step 3: Start
Step 4: Test
READ ME
A matter of security (A MUST READ!)
Advanced start and stop parameters
What’s where?
Stopping XAMPP
Uninstall
Thanks

Simply click on the link below. It’s a good idea to get the latest version.
Step 1: Download
A complete list of downloads (older versions) is available at
SourceForge.
There are none yet, but there will be.
XAMPP Mac OS X 0.7.3Installer Version Universal Binary |
91 MB | Apache 2.2.9, MySQL 5.0.51b, PHP 4.4.8, PHP 5.2.6, Perl 5.10.0, ProFTPD 1.3.0a, phpMyAdmin 2.11.7, OpenSSL 0.9.8h, GD 2.0.35, Freetype 2.3.5, libjpeg 6b, libpng 1.2.18, libungif-4.1.4, zlib 1.2.3, expat 2.0.1, Ming 0.3, Webalizer 2.01-10, pdf class 009e, mod_perl 2.0.3, SQLite 3.4.0, phpSQLiteAdmin 0.2, libiconv-1.11, gdbm-1.8.3, libxml-2.6.29, libxslt-1.1.21, openldap-2.3.36, imap-2004g, gettext-0.16.1, libmcrypt-2.5.8, mhash-0.9.9, curl-7.16.4, zziplib-0.10.82, bzip2-1.0.3, freetds-0.64 MD5 checksum: 6d01e64fffa87f471c5641cf6e845b97 |
XAMPP Mac OS X (tar) 0.7.3Universal Binary |
91 MB | Apache 2.2.9, MySQL 5.0.51b, PHP 4.4.8, PHP 5.2.6, Perl 5.10.0, ProFTPD 1.3.0a, phpMyAdmin 2.11.7, OpenSSL 0.9.8h, GD 2.0.35, Freetype 2.3.5, libjpeg 6b, libpng 1.2.18, libungif-4.1.4, zlib 1.2.3, expat 2.0.1, Ming 0.3, Webalizer 2.01-10, pdf class 009e, mod_perl 2.0.3, SQLite 3.4.0, phpSQLiteAdmin 0.2, libiconv-1.11, gdbm-1.8.3, libxml-2.6.29, libxslt-1.1.21, openldap-2.3.36, imap-2004g, gettext-0.16.1, libmcrypt-2.5.8, mhash-0.9.9, curl-7.16.4, zziplib-0.10.82, bzip2-1.0.3, freetds-0.64 MD5 checksum: 4589036275ac404d3b6b41f56eca7f50 |
Upgrade 0.7.2 to 0.7.3 |
5 MB | Upgrade package MD5 checksum: c943e7144410d596c8041abdf0c2b805 |
Developer package |
32 MB | Developer package Installation tar xvfpz xampp-macosx-0.7.3-dev.tar.gz -C /Applications/xampp MD5 checksum: 94780a90c45b90d93027ce04dbeeeaf2 |
After downloading simply run the following commands in a terminal:
Step 2: Installation
- Installation requires an admin account.
# Enter „sudo su“. You will be prompted for a password.
# tar xfvz xampp-macosx-0.7.3.tar.gz -C /
Notice: all old installations of XAMPP for MacOS X will be overwritten!
That’s all. XAMPP is now installed below the /Applications/xampp directory.
After installing simply type in the following commands to start XAMPP for MacOS X:
Step 3: Start
- Go to a Terminal shell and login as the system administrator root:
sudo su
- To start XAMPP simply call this command:
/Applications/xampp/xamppfiles/mampp start
You should now see something like this on your screen:
Starting XAMPP for MacOS X 0.7.3...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for MacOS X started.
Ready. Apache and MySQL are running.
If you get any error messages please take a look at the
MacOS X FAQ.
OK, that was easy but how can you check that everything really works? Just type in the following URL at your favourite web browser:
Step 4: Test
http://localhost
Now you should see the start page of XAMPP containing some links to check the status of the installed software and some small programming examples.


As mentioned before, XAMPP is not meant for production use but only for developers in a development environment. The way XAMPP is configured is to be as open as possible and allowing the developer anything he/she wants. For development environments this is great but in a production environment it could be fatal.
A matter of security (A MUST READ!)
Here a list of missing security in XAMPP:
- 1. The MySQL administrator (root) has no password.
2. The MySQL daemon is accessible via network.
3. ProFTPD uses the password “xampp” for user “nobody”.
4. PhpMyAdmin is accessible via network.
5. MySQL and Apache running under the same user (nobody).
To fix most of the security weaknesses simply call the following command:
/Applications/xampp/xamppfiles/mampp security
It starts a small security check and makes your XAMPP installation more secure.
With /Applications/xampp/xamppfiles/mampp you can not just start and stop XAMPP für MacOS X, you can do loads more. To see what else you can do, just read below.
Advanced start and stop parameters
ERWEITERTE START- UND STOP-PARAMETER
start |
Starts XAMPP. |
stop |
Stops XAMPP. |
restart |
Stops and starts XAMPP. |
reload |
Apache, MySQL and – if started – ProFTPD reload their config files |
startapache |
Only starts the Apache. |
startssl |
Starts the Apache SSL support. This command activates the SSL support permanently, e.g. if you restart XAMPP in the future SSL will stay activated. |
startmysql |
Only the MySQL database ist started. |
startftp |
Only the ProFTPD-Server is started. Via FTP you can upload files for your web server (user “nobody”, password “xampp”). This command activates the ProFTPD permanently, e.g. if you restart XAMPP in the future FTP will stay activated. |
stopapache |
Stops the Apache. |
stopssl |
Stops the Apache SSL support. This command deactivates the SSL support permanently, e.g. if you restart XAMPP in the future SSL will stay deactivated. |
stopmysql |
Stops the MySQL database. |
stopftp |
Stops the ProFTPD server. This command deactivates the ProFTPD permanently, e.g. if you restart XAMPP in the future FTP will stay deactivated. |
reloadapache |
The Apache webserver reloads its config files. |
reloadmysql |
The MySQL database reloads its config files. |
reloadftp |
ProFTPD reloads its config files. |
For example: To start Apache with SSL support simply type in the following command (as root):
/Applications/xampp/xamppfiles/mampp startssl
You can now also access your Apache server via SSL under https://localhost.
WICHTIGE DATEIEN UND VERZEICHNISSE
What’s where?
/Applications/xampp/xamppfiles/bin |
The XAMPP commands home. /Applications/xampp/xamppfiles/bin/mysql for example calls the MySQL monitor. |
/Applications/xampp/htdocs/ |
The Apache DocumentRoot directory. This is where the webpages belong. |
/Applications/xampp/etc/httpd.conf |
The Apache configuration file. |
/Applications/xampp/etc/my.cnf |
The MySQL configuration file. |
/Applications/xampp/etc/php.ini |
This File is to configure your php options. |
/Applications/xampp/etc/proftpd.conf |
ProFTPd configuration file. |
To stop XAMPP simply call this command:
Stopping XAMPP
/Applications/xampp/xamppfiles/mampp stop
You should now see:
Stopping XAMPP for MacOS X 0.7.3...XAMPP: Stopping Apache with SSL...XAMPP: Stopping MySQL...XAMPP: Stopping ProFTPD...XAMPP stopped.
And XAMPP for MacOS X is stopped.
To uninstall XAMPP just type in the following command in your Terminal shell as administrative user root:
Uninstall
rm -rf /Applications/xampp
The end.
We would like to thank Kai “Oswald” Seidler, Kay Vogelgesang, the whole Apache Friends Team and of course also our users for supporting us and to have made Apache Friends what it is today.
Thanks
February 2005, Kristian Marcroft
