6/11/2023 0 Comments Download mamp for mac os sierra![]() Once the file is open, perform a search (Control w) for two entries that are commented out by default. ![]() Sudo nano -w /Applications/MAMP/conf/apache/nf Using Terminal, open the MAMP Apache configuration file. ![]() With Apache set up, it’s now time to focus on configuring it to handle virtual hosts. Now, you can run MAMP’s Apache on port 80 with no conflicts. Sudo launchctl unload -w /System/Library/LaunchDaemons/ To eliminate this conflict and to leverage port 80 for MAMP’s Apache, I disabled the default instance of Apache from autostarting using the following Terminal command: Placing MAMP’s Apache at port 80 creates a conflict. The default Apache web server uses port 80. The preference is to change this to 80 for Apache and 3306 for MySQL. Leaving the ports this way, you would be forced to add the port to the URL locally (ex. Once downloaded and installed, MAMP needs to be configured.īy default, MAMP sets the ports to 8888 (Apache) & 8889 (MySQL). This will play into one of the issues I had to overcome. By installing MAMP, I have decided to use the MAMP version of Apache. Note: macOS by default offers the Apache web server. MAMP is the bundled package for the macOS there are similar bundles for Windows-based PCs (ex. All of these are needed to run and develop for WordPress locally. MAMP is the bundle of Apache, PHP and MySQL. After every attempt failed, I decided to wipe out my Mac, and start from scratch. Several months after the Sierra macOS upgrade became available, I hoped this upgrade would resolve the issue, to no avail. At one point, I lost the ability to have MAMP’s Apache run without issue. No matter what I did, I couldn’t get virtual hosts to function again. After a regular update, I lost this functionality … all virtual host functionality. I had virtual hosts set up while on the El Capitan OS in a way when I created a new folder, the virtual host would dynamically be created. I created a decent local development that worked for me simple, straightforward, not complex. I’m fairly new to the Mac, have transitioned from the PC full time a couple years ago. I decided to write this post for two reasons 1.) as a personal reference and 2.) to share what I learned so that others might get to their goal quicker. ![]()
0 Comments
Leave a Reply. |