- XAMPP for Mac OS X is an essential application package for every web developer. In it you will find the Apache server, programming languages PHP and PERL and the database manage system MySQL.
- But you can pick the Manage Servers tab and have similar functionality on MAC: I find it most annoying that the Xampp manager doesn't have XAMPP in the name, but is vaguely called 'manager-osx'. This way you can't quickly find it through OS X's Spotlight search.
Setting up XAMPP: General Notes
Setting up XAMPP is not terribly difficult or time-consuming. It lets you test your website at a special URL, http://localhost/
, that makes it possible to use root-relative paths, run PHP scripts, and do other kinds of things your live website will do.
Windows instructions immediately follow; Mac users can jump right to the OS X instructions.
XAMPP Setup: Windows
Download the latest version of XAMPP for Mac for free. Read 5 user reviews and compare with similar apps on MacUpdate. Download XAMPP for Mac free. Install an Apache web server and add MySQL, PHP and Perl with ease.
These steps have been tested with XAMPP version 1.7.4 on a USB drive on Windows XP, Windows Vista, and Windows 7. Please contact the author if you run into any problems so that these instructions can be improved, if necessary.
- Download either the ZIP or the 7zip archive of XAMPP for Windows from the XAMPP site; do not download the installer. The 7zip archive is smaller, so it downloads faster; but it may take longer to unzip, up to 10 or 15 minutes, depending on the speed of your computer.
- Unzip the ZIP or 7zip archive; if you don’t have an unzipping utility, try 7-Zip.
- Copy the unzipped
xampp
folder to the root of your USB drive (in other words, don’t place it inside of another folder). If your unzipping program has created a folder that hasxampp
inside of it (e.g., some unzipping programs will create a folder likexampp-win32-1.7.4-VC6/
), move just thexampp
folder to the root of your drive. Depending on the speed of your USB drive, that, too, make take a little while, too (15 or 20 minutes).Windows XP screenshot of the
xampp
folder in its proper place: in the root of a USB drive (in this case, the USB drive’s letter is F:). - Load XAMPP by double-clicking on the
xampp
folder and finding and then double-clicking thexampp-control.exe
file. (If you don’t see the.exe
extension, the file will still work—but you should Google for show file extensions and the name of your operating system (Windows 7, Windows Vista, Windows XP; see pages 45-47 in the book). - Start the Apache web server by clicking the Start button on the XAMPP Control Panel. Windows Vista and Windows 7 users may get a warning about Windows Firewall; click Cancel on any firewall warning windows that pop up.
Windows XP screenshot of the XAMPP Control Panel with the Apache web server running.
- Test that XAMPP is running properly by going to the URL
http://localhost/
in your browser (type the whole thing, including thehttp://
part; notice there’s no www. or .com). You should see the XAMPP welcome screen if all is working correctly.Windows XP screenshot of the XAMPP splash screen in Firefox.
- Some users may get an error from XAMPP that states another service is using Port 80 (Skype, for example, is known to use that port.) If everything is working for you, skip to the next step. If you get an error like that, use your text editor (like Notepad++) to open up the
httpd.conf
file. Go to thexampp
folder, then into theapache
folder, and finally into theconf
folder, where you will find the thehttpd.conf
file. Locate the line in the file that readsListen 80
using the Find function in your text editor. Around line 37, you will find a block of text that looks like: Comment out the line that readsListen 80
by putting a hash (#
) in front of it; below that line, write your own line that readsListen 8000
. This part of your file will now look like: Start or stop and start Apache from the XAMPP Control Panel. Point your browser tohttp://localhost:8000/
, and you should see the XAMPP welcome screen. Remember to usehttp://localhost:8000/
instead ofhttp://localhost/
when you’re developing your site. - To develop your own site, you’ll want to rename the existing
htdocs
folder inside of thexampp
folder tohtdocs-original
. (You can rename it back if you need, for example, to configure the MySQL database for use with WordPress development.) Then create your own newhtdocs
folder for your site, or download, unzip, and copy over thehtdocs
folder from the Rapid Prototyping Kit and get to work on your site. (You might want to stop and restart Apache in the XAMPP Control Panel before you start working.)
XAMPP Setup: Mac OS X
Unfortunately, the OS X version of XAMPP will not run on a USB drive; you must have administrative rights on any Mac that you wish to install and run XAMPP on. These instructions have been tested on OS X Leopard and OS X Snow Leopard using XAMPP version 1.7.3. Please contact the author if you run into any problems so that these instructions can be improved, if necessary.
- Download XAMPP for Mac OS X (Universal Binary) from the XAMPP site. Double-click the installer, and drag the XAMPP folder to your Applications folder. (You may have to enter your adminstrative username and/or password).
- Find the XAMPP Control application, which will be in an
XAMPP
folder inside of yourApplications
folder. Double-click the XAMPP Control application to launch. - A little Control window will pop up; click the Start button next to Apache. You will be prompted to enter your administrative username and/or password.
Mac OS X screenshot of the XAMPP Control window, with Apache running.
- Open your browser to
http://localhost/
; you should see the XAMPP splash page. If you are getting an error about another service using Port 80, see the end of this document. - Now things get a little complex. The
Applications
folder on a Mac is a restricted area of sorts, so it’s important to configure XAMPP to read from anhtdocs
folder than you can write to from your user account easily. - Go to your home folder in a Finder window; Look for the little house icon with your username next to it, and click on it.
- In the Finder window, create a new
htdocs
folder (File > New Folder from the Finder menu). Or, download and unzip the Rapid Prototyping Kit (RPK) and copy itshtdocs
folder to your home folder. - In your favorite text editor (like TextWrangler), create a new text file and put a little line of text in it, like: Save the file as
hello.txt
, inside of thehtdocs
folder you created or moved over from the RPK. Thehello.txt
will be for testing your new XAMPP configuration. - Now use your text editor to open the XAMPP
httpd.conf
file. This contains the Apache Web server configuration that XAMPP uses. Go to theApplications
folder, thenXAMPP
, thenetc
; you'll seehttpd.conf
listed there. Open it. - Once you’ve opened the
httpd.conf
file, you should immediately make a copy of it, just in case you make a mistake. Choose File > Save As... in your editor, and save the file ashttpd.conf.original
. You will probably be prompted for your administrative username and password. - Then, choose File > Save As... again and save as
httpd.conf
, so that you’re back to editing thehttpd.conf
that XAMPP reads (and not thehttpd.conf.original
file that you can use in an emergency). - Now to edit the
httpd.conf
file. Use the Find function in TextWrangler (Search > Find...) and search for the textDocumentRoot
(one word, no space). TextWrangler should take you to around line 174 of thehttpd.conf
file, where you will see: - Comment out the
DocumentRoot
line that’s there by putting a hash (#
) in front of it. Then, on the line below the one you comment out, write a new DocumentRoot line, replacingyourusername
as in the example below with your real username on your Mac. The DocumentRoot part of your file should now look like this: - Next, scroll down a little further (about 30 lines) in the
httpd.conf
, where you will see: - As you did with the DocumentRoot line, you’ll comment out the
<Directory ...
line by inserting a hash (#
) in front of it. Start a new line below it, following the pattern of the line you commented out, and write the same path you did in the DocumentRoot line above. This part of your file should now look like: - Save the file as
httpd.conf
; you might have to enter your administrative username and password again. - Now the moment of truth: if you left XAMPP running, stop and then start it again from the XAMPP Control window. Point your browser to
http://localhost/hello.txt
, the text file you created; you should see your simple “Hello there! This is just to test XAMPP.” message. If you do, go ahead and delete thehello.txt
file. You are now ready to start building your site, and testing it on a local web server.
Some users may get an error from XAMPP that states another service is using Port 80 (Skype, for example, is known to use that port.) If you get an error like that, open up the httpd.conf
file, and search for Listen 80
using the find function. Around line 30, you will find a block of text that looks like:
Comment out the line that reads Listen 80
by putting a hash (#
) in front of it; below that line, write your own line that reads Listen 8000
. This part of your file will now look like:
Start or stop and start XAMPP from its little Control window. Point your browser to http://localhost:8000/hello.txt
, and you should see your see your simple “Hello there! This is just to test XAMPP.” message. If you do, go ahead and delete the hello.txt
file. Remember to use http://localhost:8000/
instead of http://localhost/
when you’re developing your site.
XAMPP For Mac v7.4.14 Best Apache, PHP, MySQL, and Perl all in one package For Mac. Download XAMPP is a free program mainly used for the programmer who uses it to develop programs of a different kind. I used to make various programs when I had nothing to do, and I aimed to work online. Still, I could not afford the premium hosting, and someone suggested I download it. I downloaded it for my system, and I earned many programming skills while using it so, this program is different from all the stuff provided on this website. The same has developed & published the Apache Friends product that is a very famous company because it’s all about the programming world. It contains all the programming programs where you can learn basic programming and be groomed as a professional programmer. Also, check out Visual Studio For Mac 2021 Full Version.
The program is linked to online servers that are available and readable in PHP And Java programming languages. There is the server screenshot, and you can see the program has connected to the server and showing all the available data on the server. You can download any file which is required further. You can transfer any file as well because that’s the job of the program. You have to enter the username & password of the hosting account and the login URL; otherwise, you would not be able to log in to the server. The publisher company (Apache Friends) made it in the way where they work as a server. You can make some updates on your server using the website. There is one option that is very amazing that you can also use the offline mode where all the data is available offline, you can configure it once and adequately.You felt that everything has done from your side and have checked everything so, you can make it live on your Domain. The second screenshot belongs to the same scene, and there is the only job to perform on this program so, every programmer needs this because they are tired of login in again & again on the URL. After all, it takes time, so it saves time. If you have never used it before, they also provide a help guide where you can get the solution to every problem coming on your screen. We have another screenshot to present so, here you go. There is the last demo file that has appeared on the net. You can see that there are few options available to perform, you can start & stop any action which is happening in the program so, it’s best for the programmer, and most programmers prefer this software as compared to other related software because there are many other related programs as well. Still, they do choose the current one because they like it.
The Feature of XAMPP Server For mac OS Full Version:
- Easy to used.
- They are supported for mac and windows.
- Apache.
- PHP.
- MySQL.
- Perl.
See All Results For This Question
How To Download and Install XAMPP Server on Mac OS?
This is the essential task to perform because it’s imperative to pay attention to the installation process. Otherwise, the error is expected for sure.
Download Xampp For Macos High Sierra
- Download the XAMPP linked below.
- Open XAMPP.dmg and click on manually install.
- Make a double click on the install button.
- Drag the XAMPP to the Application folder.