Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
The XAMPP software stack for Mac OS 10, includes the Apache, MySQL, and PHP components, but also includes an FTP server. One of the advantages of this particular software distribution, is that you can get additional modules from BiNnami, and easily install popular web applications; such as WordPress, Drouple and Junelaw. You can download the XAMPP software from www.apachefriends.org.
On the homepage, you'll see a link for XAMPP for Apple and that will always download the most recent version. But you can find additional versions by clicking the download link at the top of the page. Down at the bottom, in the XAMPP for Apple section, you'll see that as of the time of this recording, there were two versions available: one that includes PHP 5.4, and one with PHP 5.5. I've downloaded the most recent version to my desktop.
It's a DMG file, so I'll double-click it to open the DMG and mount the volume. Then I'll double-click the installer application. The first time you run the installer application, you might see this internet security notification. And if you do, just click open. Then, I'll type in my administrative password, and that launches the installer. Notice the BitNami splash screen that goes by and the BitNami graphic on the first screen of the installer.
The relationship between XAMPP and BitNami works like this. The core XAMPP stack that includes Apache, PHP, and MySQL is maintained by the Apache friends organization, but BitNami maintains those additional modules. From the first screen, click Next. And then click Next again. And Next again. On this screen, you can click the link to go to the webpage that describes that relationship between BitNami and XAMPP.
On the installer itself though, you can uncheck this option and continue with the installation. I'll click Next, and that will begin the installation. But before I do that, I'll make sure that I don't have any other copies of Apache currently running. I'll go to Terminal, and I'll type sudo apachectl stop. I'll type my administrative password again, and if I see the message error unloading, that means the built in version of Apache, that's included with OS X isn't running.
And I won't have conflicts between that version of Apache and the XAMPP version. Also check to make sure that you don't have anything like MAMP installed. I'll go back to the installer and click Next. And now the installation begins. It will take a few minutes to unpack the files and copy them into the application's folder. When the installation is complete, you'll be ready to use Apache MySQL and PHP immediately. When you get to this screen, XAMPP has been installed. If you leave the option checked, you'll launch XAMPP immediately when you click the Finish button, and you should see this screen appear in a browser.
Notice in the URL, in the web browser, that my computer name is displayed. I am going to change this to localhost to show that you can address the XAMPP server, either through the computer name, through local host, or through 127.0.0.1, and then I'll click on English for the language I want to use. Now also on the background, this application will have opened. This is the XAMPP management console. There are three tabs across the top, Labeled Welcome, Manage Servers and Application Log.
Notice on the Manage Servers tab that Apache has started but MySQL hasn't. So the next step is to start up MySQL. I'll click on it and I'll click Start. It will take a few moments for my SQL to start up and just wait a moment until you see that the status changes to running. Then to confirm that everything is working, I'll minimize the management console and then on the menu I'll click phpMyAdmin. To open up the MySQL Management Application.
You'll see that the default installation contains a number of databases. The standard ones that appear in all the installations of MySQL such as MySQL itself and a number of others. and you can use the test database to run tests on your server. I'll show you just two more things about the installation. First of all, in the Applications folder, I'll scroll down to the bottom and open the XAMPF folder. Within the XAMPP folder, there is a link to the htdocs folder.
This is where you can put all of your standard web files. There is also an uninstall script, and you can use that script to uninstall if you don't need it anymore. And you'll find other useful folders, such as the Bin folder and the XAMPP Files folder. Under ZAMP files, there is an Apache 2 folder, which as a cuff or configuration folder and this is the HTTP configuration file. There is a PHP folder and a PHP MyAdmin folder.
So that's the XAMPP installation for Mac OS X. If you need to restart the management console later on, you can double-click Manager-OSX. The XAMPP software stack for Mac OS X includes everything you need to get started developing and testing your PHP web applications.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 73935 Viewers
80 Video lessons · 129440 Viewers
52 Video lessons · 63783 Viewers
59 Video lessons · 49550 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.