In this video, I'll show you how to properly install, run, and configure XAMPP on a MacOS so that you can run PHP code locally. The latest version of XAMPP o. XAMPP is a free distribution package that makes it easy to install Apache Web Server, PHP, PEAR, and MySQL. Before installing XAMPP, you should turn off any other web servers and instances of MySQL you have running on your Mac. Installing XAMPP on a Mac. Download XAMPP for Mac OSX - Be sure to select the proper version of PHP. XAMPP is an all-in-one package that you can use to install Apache, PHP, and MySQL. XAMPP also installs phpMyAdmin, a Web application used to administer MySQL. XAMPP installs all the packages in one easy procedure. XAMPP installation instructions are provided for Windows and Mac. Installing XAMPP on Windows.
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.
XAMPP is cross-platform that means it is available for Windows, Linux, and Mac OS x for 32 bit or 64-bit versions. It supports Windows 10, Windows 8, 7, and Vista. Below is the download link. The latest version does not support Windows XP or 2003. Old versions are available here.
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.
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.
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
Xampp For Mac Os X
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.
# 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.
<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> Mac miller perfect circle god speed mp3 download free.
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
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
If setting up XAMPP on Windows 10 is something which you are still unable to configure, then following the below-given steps would save you a lot of time and efforts. Once it’s installed, it will be a breeze to use it. In this blog post, I will show you how to install XAMPP on Windows 10 with ease.
It’s always a good practice to test your site on the local server before you actually publish it to the real server. And to create a local server environment on your windows machine, you can use XAMPP. XAMPP stands for X- cross-platform, A- Apache, M- MySQL, P- PHP, P- Perl. It is a completely free and open source solution that gives you an incredible local web server to work on. Installing XAMPP sets you free from learning and remembering commands to run Apache, MySQL, etc. It simply gives you a control panel to manage all the inclusive components.
Once you have XAMPP installed on your PC you can install any CMS, including but not limited to WordPress on your Local PC. Since we have already discussed how to move WordPress from localhost to live server so, you don’t have to worry about the later process after installing WordPress locally. Simply test your site thoroughly on XAMPP and make most of it.
How to Install XAMMP on Windows 10
So without ado, let’s get started with the step-by-step guide to how to install XAMPP on Windows 10. And I am very sure by the end of this post, you’ll be having your very own local WordPress testing environment on Windows 10.
Step 1: Download and Install XAMPP
To download and install XAMPP, go to apachefriends downloads page, the official link to download XAMPP from. You will see XAMPP ready to download for cross-platform like Windows, Linux, Mac OS X. Since we are discussing How to install XAMPP on Windows 10, therefore, we will choose the Windows option as shown below.
Step 2: Run the Installer to Install XAMPP
XAMPP Setup Wizard
During the installation process, you may come across warning pop-ups. But you would probably click ‘Yes’ to start the installation process. Soon after you click on the downloaded file, the XAMPP setup wizard will open. Now click on the ‘Next’ Button to proceed.
Select Components
Next, you need to check the components which you want to install and can uncheck or leave as it is which you don’t want to install. You can see there are a few options which are light grey in color. These are the options which are necessary to run the software and will automatically be installed. Now click on the ‘Next’ button to continue.
Select Installation Folder
Now you need to choose the folder where you want to install the XAMPP. You can choose the default location or you can choose any location of your choice and choose the ‘Next’ button to move ahead.
Bitnami for XAMPP
Now will see a window showing you information about Bitnami. Simply click on the ‘Next’ button to move further. However, if you wish to learn more about the Bitnami, then you may check the box saying ‘Learn more about Bitnami for XAMPP.’ Basically Bitnami is for installing open source applications i.e. WordPress, Joomla etc on your newly installed XAMPP.
Ready to Install
Now you’ll see another window with a message “Setup is now ready to begin installing XAMPP on your computer” like shown below. You just have to hit the ‘Next’ button to proceed.
Welcome to XAMPP Wizard
Xampp Free Download Windows 10
Now just be patient and wait for the installation to complete.
Installation Complete
Once the installation is completed, you will be asked whether you would like to start the control panel now or not, displaying the message “Do you want to start the control panel now?” Check the box and click on the ‘Finish’ button and see if the XAMPP is working fine.
Step 3: Select your XAMPP Install Language
As soon as you will click on the Finish button in the final step of install XAMPP process, you will be asked to select the preferred language between English and German. It is up to you which language you choose. After that click on the ‘Save’ button to confirm your selected language. As of now, I am choosing the English language.
How To Download And Install Xampp On Mac Windows 10
Step 4: XAMPP is now Installed, run it
If the entire process of XAMPP installation went correctly, then the control panel would open smoothly. Now click on the ‘Start’ button corresponding to Apache and MySQL.
Install Xampp On Mac
That’s it. You have successfully installed XAMPP on Windows 10. Or say you have successfully installed XAMPP locally. Once you start the modules, you should see their status turn to green. Whereas, on the right side, you can see the process ID number and port numbers every module is using. You’re good to go now. Happy XAMPPing!!
Install Xampp Download
Wrapping Up Now you know how easily you can install XAMPP to test and install your WordPress site locally before hitting the live server. Certainly, the biggest advantage of installing XAMPP is that you don’t have to worry about the number of attempts you make or the kind of experiments you perform on your site. You can freely try anything you want without any tension of losing your users. However, if you face any error while installing XAMPP on your Windows machine, then do let me know in the comments below. I will try my level best to resolve the errors. Nonetheless, creating a stunning new website piece of cake if you use TemplateToaster website builder. It is indeed, a dynamic website builder to give you an amazing website without any coding skills. So, try now!!