XAMPP – most of the web developer will know what it is! This simple description is for the newbies.

XAMPP is completely free PHP development environment. It contains Apache distribution packed with mysql , PHP and Pearl which is available for most popular OS’s like Windows/Linux/Mac OSX, that makes you to configure and run Apache server in your local machine.

That’s how quick it is to install XAMPP. Now, go into your Applications folder, and open up the XAMPP application. This is the XAMPP control window, and since we’re going to be installing WordPress, we want to get Apache and MySQL running. Simply click on. Download Updated Versions: XAMPP Version 7.4.6 for OSX XAMPP Version 7.3.18 for Mac XAMPP Version 7.2.31 for Mac XAMPP is quite attractive package for Mac users, because of it being Lightweight software, simpler GUI and inclusion of Number of tools/ features with it. This is a complete package which is easy to easy install, configure.

Before downloading the XAMPP, be sure about the PHP version you need. You can download the Latest Version of XAMPP here.

Steps to Install XAMPP in MAC

  • Download the appropriate DMG file and mount it to your mac by double click on it. Application installer opens and guides you through the installation steps.
  • Double click on XAMPP icon to start the installation process.
  • click on Next buttonto continue.
  • Select the XAMPP components which are all you want to install in your MAC
  • After clicking the Next button ,XAMPP will install to your Application Folder.
  • Open the bitnami link in a new window. There you can find free installer for wordpress, Joomla, Moodle, Magento, Drupal, etc… Which tends you to install these things over your XAMPP.
  • Uncheck the checkbox below the link and click Next button.
  • XAMPP Installation process will complete after clicking the Finish button.

Yeah thats it ! now your MAC is equipped with XAMPP.

Steps to Start Apache Server in local machine

Its time to start apache server in the local machine!

  • By simple click in the “Go to Application” button start the apache servers and take you to the local server’s index page in the browser.
  • Open Application Folder opens the XAMPP folder inside the Application folder.
  • After clicking on Go to Application button, it redirects you to the browser where you have to pick your language.

Xampp Free Download Windows 10

  • After choosing your language, it redirects you to the index page of your local host. You can find some inbuilt tools there.

phpMyadmin -> you can create or manipulate database easily with the help of this tool.

webalizer – > its a web analyser tool.

Manage Servers with XAMPP

  • You can start, stop, restart or configure your Server under Manage Server tab.
  • You can monitor the server event through Application Log panel and can easily identify for error or any malfunction happens with in it.

Configure Virtual Host in XAMPP

The virtual host is required whenever you are working in multiple projects and their directories are at different location. Virtual Host allows you to run multiple local sites using single apache server.

You can configure n number of virtual host but it must have unique different name

Steps to configure the Virtual Host in XAMPP

  • Select the Apache Web Server
  • Click the Configure button
  • In the configuration window click on the Open Conf File button
  • Click yes on the advanced user warning that appears.

Enable Virtual Host

You have to enable the virtual host in this configuration file.

Search for “# Virtual hosts” and uncomment the “Include etc/extra/httpd-vhosts.conf” line by removing ‘#’ before it.

Before:

# Virtual hosts
#Include etc/extra/httpd-vhosts.conf

How To Download Xamp On Mac High Sierra

After:

Xampp

# Virtual hosts
Include etc/extra/httpd-vhosts.conf

Change User Group

Find these “User/Group” line and Change the user group name (daemon) to your MAC user name. This prevents the server from making 403 access forbidden error.

Before:

<IfModule unixd_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User daemon
Group daemon
</IfModule>

After

<IfModule unixd_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User YourMacUserName
Group daemon

</IfModule>

after making this changes save the configuration file and restart the apache servers.

Creating Virtual Host

Now you can see a new file inside “/Applications/XAMPP/xamppfiles/etc/extra” called “httpd-vhosts.conf”

Open and edit : /Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf

Add the below lines at the end of the file

# My custom host
<VirtualHost *:80>
ServerName yourSiteName.local
DocumentRoot “/Users/yourusername/path/to/your/site
<Directory “/Users/yourusername/path/to/your/site“>
Options All
Allow from all
AllowOverride All
Require all granted
</Directory> ErrorLog “logs/mysite.local-error_log”
</VirtualHost>

Replace the yourSiteName.local & document root path to the required one.

Creating Host Entry For the Virtual Host

  • Open the terminal and edit the host file using the command sudo nano /etc/hosts
  • Add these lines to the Host file

# XAMPP VirtualHost mappings
127.0.0.1 yourSiteName.local

To create multiple host replicate the code added in /Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf file again but with different site name and add the host entry for that also. Restart the Apache server for the changes to take effect.

Yeah it’s all done. Now you can hit the virtual host in the browser.If you have any doubts and clarification regarding this, drop it in the comment section.

If you like this post, Share it to your friends. Dont forget to Subscribe our Feeds, Follow us on Twitter, Facebook and Pinterest.

Amazon.com Widgets

This tutorial will help the aspiring bloggers to install and use Joomla on Mac devices. Joomla is one of the most popular CMS for creating websites or blogs. It is not as popular as WordPress, but still many users are associated with it. The CMS on local Apple devices will help you do the R&D before publishing the content live on website. Not only the new bloggers, but experienced and mature developers too use this approach. This helps them to play with the code and deeply analyse the new stuff. If something goes wrong on live site, it is a problem and hence it is better to test it on your computers.

Contents1 Steps to Install Joomla On Mac

Steps to Install Joomla On Mac

  • First download and install the XAMPP on your mac computer.
  • Now get the setup for Joomla from the official joomla Website on your device.
  • Create a Dummy folder with any name example
  • Now open your browser and go to http://localhost/htdocsto open the Joomla installation page.
  • Select the language and proceed to confirm the terms and conditions.
  • Enter the site details as
    • Database Type: My SQL
    • HostName: Enter localhost.
    • UserName: Type the default MySQL username root.
    • Password: Enter the password.
    • DatabaseName: Enter the name you used when you set up your database.
  • Select next and skip the FTP settings.
  • Now provide the site details including Site name, email address with user name and password.
  • That’s it. Access the site through Site button and Admin area through Administrator button.
  • Enjoy.

The above steps work if XAMPP is installed. If you do not know the xampp installation process, read the below steps.

Steps to Install Xampp on MAC

  • Open your browser and get the installation file for XAMPP from Apache Friends Website.
  • Now open the downloaded file(the DMG-Image) and drag and drop the XAMPP folder into your Applications folder.
  • Go to Applications -> XAMPP -> XAMPP Control in Finder to open XAMPP Control Panel and start Apache and MySQL.

If the Xampp does not work. Open terminal and type the following command :

chmod -R 777 /Applications/XAMPP/xampfiles/var

If you get stuck anywhere, do not worry. Just drop below in your comments. Also do not forget to read these popular articles:

How to add Favicon in Joomla?

If you know any other better way, do let us know about that too. Share your Joomla success stories to feature in our daily magazine.

How to Install Joomla on MacTagged on: get joomla on machow tomac joomla installationrun joomla on mac
We use cookies to ensure that we give you the best experience on our website. Thanks for being one of the million users per month. Hit OK to build more trust.