Daniel
Posts: 4
Joined: Fri Jun 24, 2016 7:42 pm

How to set up Wordpress locally?

Tue Oct 25, 2016 8:18 am

Hello. Can somebody tell me how can I set up Wordpress locally with VVV? I did followed tutorials, but I couldn't get it to work on Solus anyway. Thank you.

User avatar
Justin
Development Team
Posts: 3617
Joined: Mon Jul 28, 2014 10:42 am
Location: Adelaide, Australia
Contact: Website Google+ Twitter

Re: How to set up Wordpress locally?

Mon Oct 31, 2016 3:02 am

What is VVV?

For wordpress you'd be best off with a docker container and find a pre-installed wordpress one. However I'm not sure why you'd want to, it should be hosted on a server, not a desktop.

Motokosgun
Posts: 2
Joined: Wed Jun 06, 2018 3:47 pm

Re: How to set up Wordpress locally?

Wed Jun 06, 2018 4:15 pm

They probably want to try out WP and learn how to use it offline beforehand, which is wise, methinks.

katherinetk
Posts: 1
Joined: Wed Jun 27, 2018 10:18 am

Re: How to set up Wordpress locally?

Wed Jun 27, 2018 10:23 am

Following are the Steps to install Wordpress Locally...
1. Install a Local Server
local servers
In order to run any PHP/database application on a local computer, you need a local host (ie. Apache + MySQL). For Mac, use MAMP. For PC, use XAMPP or WAMP.

I’m using Mac here, so I’m going to install MAMP. Go to mamp.info, download and install MAMP.

2. Create a New Database
After you’ve installed MAMP, run it and it should take you to the start page. Now click on phpMyAdmin. In the phpMyAdmin page, create a new database (eg. wordpress).

phpMyAdmin

3. Download WordPress
Go to wordpress.org and download the latest build of WordPress. Go to the htdocs folder (where you installed the MAMP), extract the wordpress.zip to a new folder (eg. mysite).

Extract WordPress Zip

4. Update wp-config.php File
In the folder, rename the wp-config-sample.php to wp-config.php. Open wp-config.php and update the database details (db_name, user, password, host) according to your local server.

Update wp-config.php

5. Run install.php
With your browser, go to http://localhost:8888/mysite/wp-admin/install.php and follow the instructions to install WordPress.

Install WordPress

Return to “Tutorials”