Archive for June, 2016

Installing Drupal & Xampp on Mac

June 20th, 2016

You do not need expensive programming tools to design professional-looking websites — all you need to get started is Drupal, a free, open-source content management system that lets you create and maintain websites. Before you post your site on a Web host, you should test it on your local system. To do so, install an AMP stack such as Xampp. AMP stacks are free software packages that contain the Apache Web server, MySQL database and PHP. Once you install Xampp, you are ready to install Drupal.

Install Xampp

  • Go to
  • Click the “XAMPP for Mac OS X” link, then click the Universal Binary link to open a download page. A download dialog window opens.
  • Click “Save File” on the Download dialog to open a Save As dialog.
  • Select a location to save the download file.
  • Click “OK.”
  • Double-click the “Xampp.dmg” file to open the installation window.
  • Drag the Xampp folder to your “Applications” folder to install Xampp.
  • Start the “XAMPP Control” application.
  • Click the “Start” buttons next to the “Apache,” “MySQL” and “ProFTPD” options. The icon next to each item turns green.
  • Open your Web browser, type “http://localhost” without quotes in the address bar and press “Enter” to view your XAMPP start page.
  • Click the “phpMyAdmin” link to open the phpMyAdmin page.
  • Enter a database name in the “Create new database” field. Do not forget this name, as you will need it when you install Drupal.

Install Drupal

  • Go to the Drupal download page at
  • Click the download link for the most recent version to open a Download dialog box.
  • Choose the “Save As” option.
  • Click “OK” to open a save dialog.
  • Browse to the folder “/Applications/XAMPP/htdocs/.” This is the folder you want your Drupal files in so that they will work with Xampp.
  • Click “Save” to start the download.
  • Double-click the downloaded file to decompress it.
  • Verify that you still have Xampp running. If you do, go to Step 9; if you do not, follow the instructions from Step 9 of the previous section to start it up.
  • Open your Web browser.
  • Type “http://localhost” without quotes in the address bar and press “Enter” to open the Drupal Installation page.
  • Select if you want a “Standard” or “Minimal” installation. Either option installs all the files you need to run Drupal on your computer.
  • Click “Save and Continue” to go to the Language page.
  • Click “Save and Continue” if you want to install Drupal in English. You will either go to the Requirements Problem page — Step 14 — or the Database Configuration page — Step 16.
  • Review the requirements problems listed, and make the recommended changes.
  • Click “Save and Continue” to go to the Database Configuration page.
  • Enter the “Database Name” you created in Xampp.
  • Enter your “Database Username” and “Database Password.”
  • Click “Save and Continue” to go to the Site Configuration page.
  • Enter a site name in the corresponding field.
  • Enter a site email address in the corresponding field.
  • Type your admin username in the corresponding field.
  • Type your admin email address in the corresponding field.
  • Enter a password in the two password fields. Check the password strength meter to gauge your password’s effectiveness.
  • Click “Save and Continue.”