From the course: PHP for WordPress
Unlock this course with a free trial
Join today to access over 24,400 courses taught by industry experts.
Setting up a local environment
From the course: PHP for WordPress
Setting up a local environment
- [Speaker] Before we get started with PHP, let's set up a local development environment. This will allow you to write PHP on your own computer without messing with a live site or servers. For that task, we'll be using local by Flywheel. It's free and cross-platform, so you can use it on Windows or Mac. It's also built for WordPress development. Go to localwp.com and download the installer. Then go through the installation process. During that process, you'll need to put in your computer's password a few times. This is so local, can install software Integral to creating a web server on your computer. Once the installation is complete, we're going to install two sites, one with and one without WordPress. First, the WordPress site, you can click on the create a new site button that's in the middle of your local screen, or you can click on the white plus button that is in the bottom-left hand corner. First, you'll need to give your site a name. I'm going to call mine WordPress. Then…