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

Installing WampServer

From: Installing Apache, MySQL, and PHP

Video: Installing WampServer

WampServer is one of the easiest and fastest to install of the available software bundles for windows. You can download WampServer from www.wampserver.com/en. Make sure you include the en subfolder at the end of the URL otherwise you might be downloading the French version. From the Home screen click Download. You'll see five different versions available; three for 64-bit Windows and two for 32-bit Windows. If you're not sure which version of Windows you're running, you can go to the Control panel and from there click System and Security and then System.

Installing WampServer

WampServer is one of the easiest and fastest to install of the available software bundles for windows. You can download WampServer from www.wampserver.com/en. Make sure you include the en subfolder at the end of the URL otherwise you might be downloading the French version. From the Home screen click Download. You'll see five different versions available; three for 64-bit Windows and two for 32-bit Windows. If you're not sure which version of Windows you're running, you can go to the Control panel and from there click System and Security and then System.

Check the System type. My computer is running 64-bit Windows. So I'll download a version of WampServer to match. As of the time of this recording, there were three different packages for 64-bit Windows. The first listed in the top- left has Apache 2.2 and PHP 5.3. On the bottom-left there is a version that includes Apache 2.2 and PHP 5.4, and in the top-right one that has Apache 2.4 and PHP 5.4.

If you're working with a production environment that you'll be uploading a web site to, you should download a version of WampServer that most closely matches that production environment. And if you're not sure which version you'll be working with, check with your Network Administrator or ISP. I'm going to download the latest and greatest, 64-bit Windows with Apache 2.4 and PHP 5.4. I've already downloaded the installer to my Desktop, and I'll double-click to fire it up. Along the way, if you see any security dialogs or User Account Control dialogs, click Yes or OK to continue.

I'll click Run from this initial dialog box, click Yes on the User Account Control dialog box and that takes me to the initial Setup screen. On this screen, I see the exact versions of all the software that I'll be installing. I'll click Next, read through the License Agreement and then if I agree with it, click Next again. Now I'll indicate where I want to install WampServer. The default folder for WampServer is c:\wamp. I'll accept that default and click Next.

I'll select Create a Desktop Icon. This will create a Desktop icon that I can use to restart WampServer later. I'll click Next and then I'll click Install. It'll take a few minutes to copy all of the files over to your hard disk. Be patient. There's a lot of files to copy over. This Windows Explorer dialog is asking you for the location of your default web browser. You can browse and select a specific web browser that you'll use to open phpMyAdmin and the WampServer homepage or you can just use your system web browser by clicking Open.

On this screen, you are asked for your PHP mail parameters. If you have an SMTP server, that is an email server, through which you want your PHP server to send mail, you can add the URL here and add your email address. If you're not going to set that up, you can just click Next. The installation is now complete. I'll leave the option checked to Launch WampServer immediately and click Finish. And then if prompted by User Account Control, I'll click Yes again. You get to the WampServer admin menu by going down to the system tray.

When WampServer starts up, you should see a system tray icon. And if you don't see it here check your hidden icons, it might appear there. Click the icon and you'll see the WampServer admin menu appear. To test your WampServer installation, choose Localhost. That will open up a web browser and it should open up the WampServer homepage. If you have trouble opening the homepage, click your browser's Stop button and then your Refresh button and see if it appears.

The WampServer homepage will show you the currently installed versions of Apache, PHP and MySQL. We'll have a couple of links to valuable tools. Click phpinfo() and that will take you to a page that shows you all the details of your PHP installation. It'll show you which PHP version you're running and most importantly, the location and name of your Loaded Configuration File. You might need to make changes there, so make a note of it.

I'll click the Back button and then I'll go to phpMyAdmin. phpMyAdmin is the web-based application you can use to manage your MySQL databases. If phpMyAdmin opens, then you're successfully running Apache, PHP and MySQL. You can also test your database installation by using a file that's delivered with your WampServer installation. I'll minimize my browser and then go to Windows Explorer, and go to the new folder C:wamp, and from there to a folder named www.

This is your document root folder, the folder where you'll place your PHP-based web site files. I'm going to take a look at this file, testmysql.php. Again, this file is delivered automatically with WampServer. I'll open it in a text editor. I'm using Notepad, but you can use any text editor. I'll change the hostname, the database user and the database password. The defaults will be localhost for the database URL, root for the username and a blank string for the password.

These are the default settings. You can change them if you like. I'll save and close this file. Then I'll go back to my browser and I'll change the URL to http://localhost/testmysql.php. If you see Connection OK, everything is working fine. You can explore other aspects of the WampServer interface by going again to the Admin menu and taking a look at some of the many options that are available, to stop, restart and otherwise configure your WampServer installation.

Show transcript

This video is part of

Image for Installing Apache, MySQL, and PHP
Installing Apache, MySQL, and PHP

39 video lessons · 44270 viewers

David Gassner
Author

 
Expand all | Collapse all
  1. 17m 35s
    1. Welcome
      1m 9s
    2. Understanding Apache, MySQL, and PHP
      7m 12s
    3. Using the exercise files
      1m 7s
    4. What's new in this update
      3m 35s
    5. Choosing a software stack
      4m 32s
  2. 30m 18s
    1. Installing Apache HTTP Server 2.4 on Windows
      6m 51s
    2. Installing PHP 5.5 on Windows
      4m 12s
    3. Starting Apache from the command line
      5m 24s
    4. Installing MySQL on Windows
      7m 24s
    5. Installing phpMyAdmin on Windows
      6m 27s
  3. 44m 5s
    1. Activating Apache on Leopard and Snow Leopard
      3m 35s
    2. Activating Apache on Lion
      5m 9s
    3. Activating Apache on Mountain Lion and Mavericks
      4m 57s
    4. Configuring personal site folders on Mountain Lion and Mavericks
      6m 59s
    5. Activating PHP on Mac OS X
      6m 12s
    6. Installing MySQL on Mac OS X
      3m 59s
    7. Setting the root user password
      2m 28s
    8. Installing phpMyAdmin on Mac OS X
      6m 16s
    9. Uninstalling MySQL on Mac OS X
      4m 30s
  4. 14m 35s
    1. Installing WampServer
      6m 25s
    2. Managing WampServer
      2m 2s
    3. Defining directory aliases through WampServer
      2m 55s
    4. Changing software versions with WampServer add-ons
      3m 13s
  5. 10m 58s
    1. Installing MAMP
      4m 6s
    2. Configuring Apache and MySQL server ports
      1m 57s
    3. Managing MAMP
      4m 55s
  6. 29m 3s
    1. Installing XAMPP for Windows
      10m 0s
    2. Managing XAMPP for Windows
      4m 4s
    3. Managing MySQL security through XAMPP for Windows
      2m 40s
    4. Installing XAMPP for Mac OS X
      6m 14s
    5. Managing XAMPP for Mac OS X
      2m 27s
    6. Managing MySQL security through XAMPP
      3m 38s
  7. 13m 20s
    1. Installing BitNami for Windows
      6m 31s
    2. Installing BitNami for Mac OS X
      6m 49s
  8. 18m 49s
    1. Handling port conflicts with Skype on Windows
      2m 37s
    2. Handling other port conflicts on Windows
      5m 19s
    3. Detecting and handling port conflicts on Mac OS X
      6m 26s
    4. Configuring Apache to work with IPv6 on Windows 8
      4m 27s
  9. 31s
    1. Goodbye
      31s

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.

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 Installing Apache, MySQL, and PHP.

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.