![]() ![]() To disable the pre-installed version of Apache, open your Terminal and run the following command: $ sudo apachectl stopĪlso, to execute this command, you will have to know your root password. For most macOS users, this is the most common issue stopping XAMPP’s Apache from running, because macOS comes pre-installed with Apache. If port 80 is being used, it is likely that another copy of Apache is already running on your computer. Apache is already being run by another application Note also that any subdirectories or pages come after the 8080, so if you were to access, for instance, PHPMyAdmin, you will have to use localhost:8080/phpmyadmin.Īrticle continues after the advertisement: b. For example, after changing your port to 8080, you will have to go to localhost:8080 instead of localhost to access the default XAMPP domain. if you have set the port to 8080 prior, then key in 8080).īelow is a short video illustrating the steps above:Īfter changing your port, note that you will have to specify the new port number you are using if you are accessing your site from the browser. You will need to change this number to the port that you keyed in the XAMPP Control Panel (i.e. Inside the file, we need to change port which Apache listens to, so search for the part that says Listen 80.Having set a new port, click on Open Conf File to see the file we were looking for. XAMPP for Mac is a completely free, easy to install Apache distribution containing MySQL, PHP, and Perl.The XAMPP open source package has been set up to be incredibly easy to install and to use.In the port field, change it to a new port, I suggest setting it to 8080 port. Then choose Apache Web Server and click Configure.You need to find file by clicking to manager-osx in your XAMPP folder.In this step, we can click the Open button. Later a pop up will appear again as shown above. Now in this step, please double click on the XAMPP icon. Then later it will appear like the image above. ![]() If you don’t know how to do so, you can find the answer in the following guide by Apple, which will take about 3 minutes to read: Start Installing XAMPP on Mac Os Okay, after the steps to change the XAMPP application file extension to. Note: Before you start changing your port, you need to log in as a root user on your macOS machine.
0 Comments
Leave a Reply. |