Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Development environment requirements

From: Dreamweaver and WordPress: Building Sites

Video: Development environment requirements

Because WordPress is an application that relies on PHP and MySQL, you'll need to setup a local development environment to work with it. While going through all of the steps to create such development environment is beyond the scope of this course, I am going to lay out the requirements and give you some pointers, including one to a freely available lynda.com course. For WordPress to run, you'll need the following setup, whether on your hosted site or on your local system. You'll need a web server, like Apache or Microsoft's Internet Information Server, known as IIS.

Development environment requirements

Because WordPress is an application that relies on PHP and MySQL, you'll need to setup a local development environment to work with it. While going through all of the steps to create such development environment is beyond the scope of this course, I am going to lay out the requirements and give you some pointers, including one to a freely available lynda.com course. For WordPress to run, you'll need the following setup, whether on your hosted site or on your local system. You'll need a web server, like Apache or Microsoft's Internet Information Server, known as IIS.

You'll also need a PHP server with a version of 5.2.4 or higher. Finally, you'll need a MySQL server, version 5.0 or higher. That will cover you if you're using any of the more recent WordPress versions 3.2 and up. If you're working on a legacy site that uses WordPress 3.1, you can use a PHP server version, 4.3 or higher, and a MySQL server version, 4.1.2 or higher.

You'll still need a web server in either case. Make sure that your web site host meets these requirements before you embark on using WordPress for a site. You'll find that most do. Should you need to set up a local development environment, there are several options. You can install the components--the web server, PHP, and MySQL--separately, or you can opt to install one of the several bundled systems that are available. Here are three that work quite well. WampServer for Windows is available in both a 32- and a 64-bit version. We'll be using the 64-bit version of WAMP server during this course.

For Mac OS X you can use MAMP. When you go to the MAMP homepage, you'll see that there are two versions: a standard and a pro version available. For most development work, you really only need the standard version. Finally, if you want to use one bundled server system for both Windows and Mac and you're working with a Windows 32-bit system, there is XAMPP. Now all of the bundled systems come with PHPmyAdmin installed to use as a database manager. If you're installing the components separately, I highly recommend that you also opt to include PHPmyAdmin or some similar database manager.

For a detailed explanation of how you setup your local development environment, see the freely available course by David Gassner, Installing Apache MySQL and PHP, found in the lynda.com Online Training Library. Next, you'll need to setup WordPress locally. For a detailed explanation, see my course Dreamweaver and WordPress: Core Concepts. As an overview, here's what you'll need to do. First, create a database in MySQL with PHPmyAdmin or a similar application.

Then copy your WordPress files to a new folder in your web root. The web root varies according to the type of server installation package. Here with WAMP, the web root will be in C:\wamp\www. With MAMP, M-A-M-P, on the Mac, it's in the MAMP Application htdocs folder. Then after you've copied those files into the web root, open up a browser and go to localhost, whatever the folder name is.

There you'll see the start of the WordPress installation with the query, Should we create a configuration file? Click Yes and you're off to the races. You'll need to enter in your database name, the server name--which is often localhost, but not always--and your username and password if any for your database. The final step is to create your Dreamweaver environment. In Dreamweaver, you'll need to set up a Dreamweaver site pointing to the same folder that you've set up in your local web server root. You will also need to create a new testing server in Dreamweaver.

Make sure you connect using the Local/Network settings, point to that same site folder, and on the Advanced tab select PHP MySQL as a server model. Make sure that you check the Testing server checkbox in the Server list. That can be somewhat of a gotcha, because Dreamweaver by default will select remote server for you. Make sure you make that switch to the testing server. Once your local development environment is established, you'll be able to create and develop WordPress sites, as well as work with PHP and MySQL separately in Dreamweaver.

Show transcript

This video is part of

Image for Dreamweaver and WordPress: Building Sites
Dreamweaver and WordPress: Building Sites

21 video lessons · 16416 viewers

Joseph Lowery
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Dreamweaver and WordPress: Building Sites.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.