WordPress on Mac

Installing WordPress on a Mac?

I used XAMPP as my Apache server distribution cause I’m the most familiar with it. Luckily they have a Mac version that is similar to Windows: https://www.apachefriends.org/index.html

After installing XAMPP, install WordPress: https://wordpress.org/ by placing the unzipped wordpress folder into your XAMPP/htdocs/ directory.

In your XAMPP folder, find manager-osx and double click on it to open the GUI. Click Start All.

Screen Shot 2017-02-12 at 10.43.02 PM.png

Then navigate to Http://localhost/phpmyadmin

Create a database for WordPress called whatever you want:

screen-shot-2017-02-12-at-10-48-45-pm

I called mine WordPress.

Open up the wp-config-sample.php file to edit the database information to the following:

screen-shot-2017-02-12-at-10-53-01-pm

Then rename the file to wp-config.php and save it.

Next, navigate to http://localhost/wordpress and follow the steps to install the WordPress application.

To be able to upload images and install templates using your WordPress application, you’ll need to run this command in your Terminal (of course change the path to the one that matches your directory:

chmod -R 755 /Applications/XAMPP/htdocs/Wordpress/wp-content
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s