6/13/2023 0 Comments Mamp wordpress port number in urlThis led to a lot of wasted time and productivity. I hope this how-to guide saves you some hair and valuable time. Only the default MAMP ports seemed to work, no matter what I set in the preferences. Setting preferences in MAMP usually works without a hassle but I encountered this problem, today morning. Switch back to MAMP and click on Open Start Page (or go to in your browser)īy using Port 80 for Apache HTTP server, instead of having a URL like you’ll have a clean URL like This is useful in certain cases, for example WordPress multi-site installation where you cannot create a network if “WordPress address (URL)” uses a port number other than ‘:80’, ‘:443’.Type sudo apachectl restart to restart Apache. All of this information is displayed on MAMP’s welcome page when you run the server and database. This will set the Apache and MySQL ports to respectively. Enter the database server’s host name and port number, as well as its username and password. Open MAMP Preferences once again and click on Set to Default Apache and MySQL ports.Type sudo apachectl stop to shutdown the system Apache. The goal of the command is to find the actual program binding to port 8888, which prevents Apache from also binding to that port, because the error means 'something else already uses port 8888.' That 'something else' might be another copy of Apache, for all I know - you have to investigate that using system administration methods. ![]() Open MAMP Preferences ( Command +, ) and click on Reset MAMP Ports ( Port 8888 and Port 8889 for Apache and MySQL respectively). ![]() ![]() we do not like about MAMP is that it does not use the default port for Apache. Open Terminal by typing terminal into Spotlight ( Command + Space). WordPress only supports MySQL for the database and, as of version 3.2. If you’re stuck with MAMP (or MAMP Pro) unable to use the default Apache and MySQL ports ( Port 80 and Port 3306 respectively) when you change them in preferences, use the following steps to ensure that the changes you make are saved and work:
0 Comments
Leave a Reply. |