We will use this database name in the next step. You can name this database anything you want. In phpMyAdmin click on Databases and then create a new database. PhpMyAdmin is a web based application used to manage MySQL databases. Click on phpMyAdmin from the top menu bar. mysite.Ĭlick on Open Start Page button in MAMP application window. Rename this folder to anything you want e.g. Extract the zip file, copy the wordpress folder inside it and paste it in your MAMP document root folder. Installing WordPress on Macĭownload a copy of WordPress from . On the MAMP app screen make sure both Apache and MySQL servers are running. For the sake of this example, we will call it mysite.Ĭlick OK to save your changes. You can name this folder anything you want, htdocs, mywebsites, wpdev, etc. Ideally, you should store your websites in a new folder inside your documents folder. In the preferences dialog box, click on Apache and select the folder where you want to store your websites. Document root is the folder where you will create and store your websites.
Setting Apache to use port 80 will allow you to access your local websites from of However, using port 80 also means that each time you start servers you will have to provide the admin password of your computer. Enter port 80 for Apache, and 3306 for MySQL. You need to enter ports which will be used by Apache and MySQL. Click on the Preferences button to change the options. Note: MAMP also installs MAMP Pro, so remember to click on the right one.īefore you get started, we recommend that you configure it to your liking. You can now launch MAMP from Applications » MAMP. Drag and drop the image file inside it to your Applications folder. Once the download is finished, open the downloaded file. Go to the MAMP website and download MAMP. In order to make it live you would need WordPress hosting. However, your website on MAMP is only visible to you. Most WordPress developers and designers use MAMP on their Mac for development purposes.
Using MAMP you can install WordPress on your Mac and test drive it. MAMP is an easy-to-install compilation of Apache, MySQL, and PHP bundled together for Mac.
Actually it is quite similar to Windows and in this article we will show you how to install WordPress locally on Mac using MAMP. As expected, we started to receive emails from our readers asking how to install WordPress in their Mac computer. If both servers are running and you cant get any output in your browser then check your firewall and antivirus - they may block your requests.Recently we published an article about how to install WordPress on your Windows computer using WAMP. If you cant find such line then your mysql server is not running - check mysql log files for errors. Check if your mysql is running and listening using same command but you should be looking for If you have apache listening on port 80 but still cant open your site and you cant figure out what is causing the problem via examining apache log files then it my be database problem.
If you find 0.0.0.0:80 listening line but some other software is listening there (do you have IIS running?) then you should remove / reconfigure that softure to free port 80. To find out why it cant start you should find apache log directory and examine the error.log (may be you have updated your php resently?). If you cant find anything listening on port 8888 ( no 0.0.0.0:8888 line) then your apache is failing to start. Start->Run->cmd and then execute command:
Just to be clear, I'm on Mac OS Leopard (but I'm not using the built in Apache setup, but MAMP).įirst check if your apache server is running. I'm fine with using a different 127.0.0.1 alias (host? what is that called?) but it's bugging me that this is still broken. htaccess then I have to add yet another entry to my hosts file to get around it even if I remove that line from the the. htaccess (and has never been for that host/alias/whatever) then I can access just fine. If I add a new entry to my hosts file for 127.0.0.1, say 'goomba' and the above line is not in the root. So, to be clear: is experiencing the above problem. I surfed through Apache's nf file all to no avail. I've tried reinstalling MAMP and clearing its caches and all the temporary files I could find. htaccess it knocks out that new host as well. I've found that if I add an alternative entry to my hosts file for 127.0.0.1 the new entry behaves like 'localhost' used to. htaccess file but I'm still having this problem. Since I did that when I visit my browser just downloads the index.php and it's not processed at all, just the raw code. htaccess file in my local server's document root (which I change frequently depending on the site I'm working with). Everything was going great until I added AddHandler application/x-httpd-php5s.