Warning: This article/tutorial is more the 45 days old. As such the information contained within could be, by now, out of date. Please read all information to make sure that this article/tutorial will work with your current version of the Operating System
FYI How to run Xampp on your Intel Mac.
Required: OS X (10.3 or 10.4), Xampp
Get XAMPP 0.5 and install it.
2. Locating httpd.conf
Go to the xampp directory in your Applications folder, open the etc folder and doubleclick the httpd.conf file.
Users of Mac OS 10.3: Find the entry
LoadModule unique_id_module modules/mod_unique_id and type a # at the beginning of the row.
Users of Mac OS X 10.4: Find the entry
LoadModule rewrite_module modules/mod_rewrite.so and type a # at the beginning of the row.
If you’re not familiar with commenting: this inhibits processing of the selected code. That’s it. Now we’re ready to run.
Start the terminal which you’ll find in the utilities folder of your Applications directory.
4. Starting the app
sudo /Applications/Xampp/xamppfiles/mampp start
You will be asked to type in the password of the system administrator.
(If you’re the only one that uses this Mac you can type probably the same as you used when installing the software)
Note that the cursor will not move during your entry and stay at the same position… Enter it and the Xampp will start up.
FYI Xampp will only work if you run the command as the root user.
If everything works fine, you’ll see the following messages:
Starting XAMPP for MacOS X 0.5…
XAMPP: Starting Apache with SSL (and PHP5)…
XAMPP: Starting MySQL…
XAMPP: Starting ProFTPD…
XAMPP for MacOS X started.
That’s it. You’re good to go! Open your browser and go to http://localhost.
6. Stopping Xampp is done also through the Terminal. Refer to the official readme part for more information.
7. NOTE: If the Terminal prints Error 1 and Apache couldn’t start, the first thing you might wanna look at is the logfile and see what error message it contains. Try to comment the false part out with the same method as described in step 2.