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.
Before downloading the XAMPP, be sure about the PHP version you need. You can download the Latest Version of XAMPP here.
Install XAMPP for Mac. Go to download the latest version of XAMPP for Mac from its official site here. At the time of writing, its latest version is 7.3.2. They are compatible with Mac OS X 10.6 or later. The main difference is the script or component versions, notably the PHP versions. However this does not affect our local WordPress installation.
Steps to Install XAMPP in MAC
- Download XAMPP for Mac OSX - Be sure to select the proper version of PHP. For Webucator classes, any version after 5 will be fine. Open the downloaded file (the DMG-Image). Drag and drop the XAMPP folder into your Applications folder. Starting XAMPP on OSX.
- Download xampp mac, xampp mac, xampp mac download free. 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.
- 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.
Xampp Download For Mac Os X
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.
- 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
After:
# 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
Xampp Download For Mac Os
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 WidgetsXAMPP is an easy to install Apache distribution containing MariaDB, PHP, and Perl. Just download and start the installer. It's that easy.
XAMPP for Windows7.2.34, 7.3.23 & 7.4.11
Version Checksum Size 7.2.34 / PHP 7.2.34 What's Included? - md5
- sha1
153 Mb 7.3.23 / PHP 7.3.23 What's Included? - md5
- sha1
153 Mb 7.4.11 / PHP 7.4.11 What's Included? - md5
- sha1
154 Mb Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.2.34, phpMyAdmin 5.0.3, OpenSSL 1.1.1, XAMPP Control Panel 3.2.4, Webalizer 2.23-04, Mercury Mail Transport System 4.63, FileZilla FTP Server 0.9.41, Tomcat 7.0.106 (with mod_proxy_ajp as connector), Strawberry Perl 5.32.0.1 Portable
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.3.23, phpMyAdmin 5.0.3, OpenSSL 1.1.1, XAMPP Control Panel 3.2.4, Webalizer 2.23-04, Mercury Mail Transport System 4.63, FileZilla FTP Server 0.9.41, Tomcat 7.0.106 (with mod_proxy_ajp as connector), Strawberry Perl 5.32.0.1 Portable
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.4.11, phpMyAdmin 5.0.3, OpenSSL 1.1.1, XAMPP Control Panel 3.2.4, Webalizer 2.23-04, Mercury Mail Transport System 4.63, FileZilla FTP Server 0.9.41, Tomcat 7.0.106 (with mod_proxy_ajp as connector), Strawberry Perl 5.32.0.1 Portable
Windows 2008, 2012, Vista, 7, 8 (Important: XP or 2003 not supported)
Windows XP or 2003 are not supported. You can download a compatible version of XAMPP for these platforms here.
XAMPP for Linux7.2.34, 7.3.23 & 7.4.11
Version Checksum Size 7.2.34 / PHP 7.2.34 What's Included? - md5
- sha1
151 Mb 7.3.23 / PHP 7.3.23 What's Included? - md5
- sha1
148 Mb 7.4.11 / PHP 7.4.11 What's Included? - md5
- sha1
149 Mb Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.2.34 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.3.23 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.4.11 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Most all distributions of Linux are supported, including Debian, RedHat, CentOS, Ubuntu, Fedora, Gentoo, Arch, SUSE.
XAMPP for OS X7.2.34, 7.3.23, 7.4.11, 7.2.34, 7.3.23 & 7.4.11
Version Checksum Size 7.2.34 / PHP 7.2.34 What's Included? - md5
- sha1
161 Mb 7.3.23 / PHP 7.3.23 What's Included? - md5
- sha1
160 Mb 7.4.11 / PHP 7.4.11 What's Included? - md5
- sha1
159 Mb 7.2.34 / PHP 7.2.34 What's Included? - md5
- sha1
353 Mb 7.3.23 / PHP 7.3.23 What's Included? - md5
- sha1
355 Mb 7.4.11 / PHP 7.4.11 What's Included? - md5
- sha1
356 Mb Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.2.34 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.3.23 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.4.11 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.2.34 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.3.23 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Includes: Apache 2.4.46, MariaDB 10.4.14, PHP 7.4.11 + SQLite 2.8.17/3.33.0 + multibyte (mbstring) support, Perl 5.32.0, ProFTPD 1.3.6, phpMyAdmin 5.0.3, OpenSSL 1.1.1h, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Add-ons
Applications
Install your favorite apps on top of XAMPP. Bitnami provides a free all-in-one tool to install Drupal, Joomla!, WordPress and many other popular open source apps on top of XAMPP.
OS X native modules have been deprecated. Please use XAMPP-VM for OS X and the Linux version of the add-ons. Check our FAQs for more info.