Join Joseph Lowery for an in-depth discussion in this video Development environment requirements, part of Dreamweaver CS6 and WordPress 3.8 Essential Training.
Because WordPress is an application that relies on PHP and MySQL, you'll need to set up a local development environment to work with it. While going through all the steps to create such a development environment is really beyond the scope of this course, I am going to lay out the basic requirements, and give you some pointers. Including one to a free lynda.com course that lays it all out for you. For WordPress to run in this workflow, you'll need the following setup, whether on your hosted site or your local system.
For WordPress 3.2 or higher you'll need a web server like Apache or IIS, a PHP server, and it needs to be version 5.2.4 or higher. As well as MySQL server, version 5.0 or higher. Make sure your website host meets those requirements before you embark on using WordPress for a site. I think you'll find that most of them now do. If you need to set up a local development environment, there are several options.
You can install the components, a web server, PHP, and MySQL separately. Or, you can opt for a bundled system. There's WampServer for Windows with either 32-bit or 64-bit versions available, MAMP for Mac OS X. There are two versions, a MAMP and a MAMP Pro. You actually only really need the standard MAMP version. There's also XAMPP for Windows. It's 32-bit only, but it also runs on Mac OS X.
Optionally, but highly recommended, is PHPmyAdmin or a similar database manager. For a detailed explanation of how to setup your local development environment go see the free Lynda course by David Gasner, Installing Apache, MySQL and PHP. The next step is to setup WordPress locally, we're going to go through the precise steps in the next chapter but as an overview, here's what you need to do. First, you'll create a database in MySQL using PHPmyAdmin or a similar app.
Then, you'll copy the WordPress files that you'll download to a new folder in the web root. In a browser, visit http://localhost/ and then whatever the name of your WordPress folder is, which will bring up the installer that you can run. Now, the final step is to create your Dreamweaver environment. For that you'll need to set up a Dreamweaver site that includes the WordPress files, create a new testing server in Dreamweaver, connect using the local/network option, and then, on the Advanced tab, choose PHP MySQL as the server model.
You do want to make sure, after you've clicked OK, that your testing server checkbox and not the remote server option is selected. Once your development environment is established, you'll be able to create and fully develop WordPress sites locally.
- Setting up WordPress locally
- Establishing your Dreamweaver CS6 site
- Adding and editing posts and pages
- Customizing WordPress themes
- Building responsive layouts
- Extending WordPress editable pages
- Using and styling WordPress plugins
- Integrating Spry functionality
- Publishing your WordPress site with Dreamweaver
- Personalizing and enhancing WordPress
Skill Level Intermediate
Author update on April 4, 2014:
WordPress 3.8.2 is now available from wordpress.org. The update focuses on security issues and should not impact this course in any way. A much bigger release, 3.9, is currently a release candidate and will likely go live later in April. I'm currently evaluating what impact v3.9 will have on this course.