|
|
|
|
|
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 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. |
| | 
Step 1: DownloadSimply click on the link below. It's a good idea to get the latest version. :)
A complete list of downloads (older versions) is available at SourceForge. There are none yet, but there will be. |
|
| XAMPP for Mac OS X 1.7.3, 2010/03/04 |
 Version |
 Size |
 Notes |
XAMPP Mac OS X 1.7.3 Universal Binary |
86 MB |
Apache 2.2.14, MySQL 5.1.44, PHP 5.3.1, Perl 5.10.1, ProFTPD 1.3.3, phpMyAdmin 3.2.4, OpenSSL 0.9.8k, GD 2.0.35, Freetype 2.3.5, libjpeg 6b, libpng 1.2.32, libungif-4.1.4, zlib 1.2.3, expat 2.0.1, Ming 0.4.2, Webalizer 2.01-10, pdf class 009e, mod_perl 2.0.4, SQLite 3.6.3, gdbm-1.8.3, libxml-2.7.2, libxslt-1.1.24, openldap-2.3.43, imap-2004g, gettext-0.16.1, libmcrypt-2.5.8, mhash-0.9.9, zziplib-0.13.48, bzip2-1.0.5, freetds-0.64
MD5 checksum: fcbd4b14461a5b9e7a817f99defd0be2
|
Developer package |
32 MB |
Developer package
MD5 checksum: f31a0619a35507a0e4305b674ae1159b
|
|
Step 2: Installation
To install XAMPP just do the following:
- Open the DMG-Image.
- Drag'n'Drop the XAMPP folder into your Applications folder.
Notice: all old installations of XAMPP for MacOS X will be overwritten!
That's all. XAMPP is now installed below the /Applications/XAMPP directory.
Step 3: StartTo start XAMPP simply open XAMPP Control and start Apache, MySQL and ProFTPD. Step 4: TestOK, that was easy but how can you check that everything really works? Just type in the following URL at your favourite web browser:
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. 

A matter of security (A MUST READ!)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.
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/xampp security
It starts a small security check and makes your XAMPP installation more secure.
Advanced start and stop parametersWith /Applications/XAMPP/xamppfiles/xampp you can not just start and stop XAMPP für Mac OS X, you can do loads more. To see what else you can do, just read below.
|
|
| ERWEITERTE START- UND STOP-PARAMETER |
 Parameter |
 Bedeutung |
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):
sudo /Applications/XAMPP/xamppfiles/xampp startssl
You can now also access your Apache server via SSL under https://localhost.
What's where?
|
|
| WICHTIGE DATEIEN UND VERZEICHNISSE |
 Datei/Verzeichnis |
 Bedeutung |
/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.
|
|
|
|
|