Installing Wordpress on a Mac With MAMP


This article shows how to install wordpress on your machine.

Download the package from wordpress website at: and put it in your website folder.

Open the browser, go to localhost/yourwebsite/wp-admin to open the installation wizard.

Launch mamp to make sure your web server and sql service start. (if mamp is configured to start service when mamp is open)

wp-config.php is required in wordpress.

There is a sample file named wp-config-sample.php in the root folder of the website. We can create wp-config.php and modify it based on the settings in the sample file.

The other option is let the installation wizard create the file for us. I will choose the latter option.

Fill out the form with the details of site title, username, password and email address for the backend and click on install. See the figure below.