Skip to Main Content

Archive for the 'Windows Vista' Category

Windows: Install and Configure WAMP for PHP Development

The Apache web server software application, MySQL database, and PHP interpreter are separate modules that work together to allow for testing of a dynamic PHP web site. Windows has none of these modules built-in, and so they must all be installed.

While you could install them separately, it is easiest to download and install them from a single bundled package. There are several companies that build these packages, and so there are certainly a few to choose from: XAMPP, AMPSS, and WampServer being a few popular options.

Today we will be installing WampServer, because it is among the fastest and easiest solutions.

Downloading WampServer

WampServer can be downloaded for free on the company’s web site.

  1. To get to the WampServer web site, go to in an internet browser.
  2. NOTE: If you didn’t type "/en" at the end of the web address, then you probably landed on the French version of the site. Click "English" in the top-right corner.

    You are now on the WampServer web site.

  3. To see the different available download options, scroll down to the Downloads section.
  4. You should see five different download options (at the time of this article’s publication). To narrow down which options to choose from, first we must know if our installation of Windows is 64-bit or 32-bit.

  5. To check if your installation of Windows is 64-bit or 32-bit, press the Windows key on the keyboard, and type msinfo32, then press enter.
  6. The System Information window should appear. Under "System Type", which is located a few rows from the top, the value should read as either "x64-based PC" or "x86-based PC."

    If you have an x64-based PC, you will choose one of the WampServer downloads that is labeled "64 bits"; with an x86-based PC, go with "32 bits."

    Now we have to choose the version of PHP and Apache, the options being either 5.3 or 5.4, and 2.2 or 2.4, respectively (at the time of this article’s publication). IU’s webserve server, for which different IU organizations and departments are hosted, has PHP version 5.2 installed (as of this article’s publication), and so we will select the 5.3 WampServer option.

  7. To select WampServer with PHP version 5.3, click either "WAMPSERVER (64 BITS…" or "WAMPSERVER (32 BITS…" depending on if you have an x64-based PC or x86-based PC, as described above.
  8. You should see a "Download WampServer" pop-up warning you that you must have the appropriate Visual C++ package installed on your computer in order for WampServer to work. You may or may not already have this installed.

    In order to verify this information, we can download and run the installer from the link provided.

    WampServer download warning pop-up

  9. To go to the Visual C++ download page, click either the x86 or x64 link, corresponding with your version of Windows.
  10. You should now be on Microsoft’s official download page for this package.

  11. In order to download the Visual C++ installer, click "DOWNLOAD."
  12. The file should begin downloading automatically.

  13. Once the file is downloaded, run the installer.
  14. The installer window should appear. If it is prompting you to either "Repair" or "Remove" Visual C++, then that means that you already have it installed, and you can just simply cancel out the window. Otherwise, go ahead and go through the install wizard, clicking "Next" at each page.

    We are now ensured that Visual C++ is installed, and so we can proceed with downloading WampServer.

  15. Go back to the WampServer page by clicking back on the browser window twice, and if necessary, click on the appropriate WampServer download link again.
  16. The warning pop-up should re-appear.

  17. To go to the WampServer download page, this time click the "you can download it directly" link on the "Download Wampserver" pop-up, shown in the image above.
  18. You will be taken to a page that may have a short countdown timer before your download automatically begins.

  19. Once the WampServer installer file downloads, run it.
  20. The installation wizard should open.

    WampServer installer wizard first page

    The window indicates what version of Apache, MySQL, and PHP will be installed, as well as a few other various applications that may assist you in your future web development.

    We will continue through the installation wizard.

  21. Click "Next" past this wizard’s start page, and license agreement page.
  22. You should now be on a page which allows you to select where WampServer will be installed. This is important. This directory will serve as the primary default location for your web sites. Thus, prevent hurdles to jump over in the future, you should choose a convenient location on one of your storage drive to hold your web files.

    NOTE: Make sure there are no spaces in any of the directories in the path you choose.

  23. Once you have chosen a path, click "Next." Check whether or not you want a "Quick Launch" or Desktop icon, and click "Next," and then click "Install."
  24. WampServer will now install. After it finishes, the installer will ask which web browser you want WampServer to default to. This choice dictates which browser opens when you tab through WampServer’s configuration options in the future.

    Keep in mind that whatever you choose here will not affect which browser can test your web site. You will be able to use whatever browser you like, no matter what you choose.

    The default option is Internet Explorer.

  25. Either simply click "Open" to accept the default browser (Internet Explorer), or locate the executable file for a different browser, and click "Open."
  26. WampServer will now ask you about the default PHP email. This allows you to set up which email address is used for various PHP tasks, for example, where a contact form hosted on your web site will be sent. However, in order for this to work, you’ll have to have an email server installed, which neither Windows nor WampServer comes with, or be using an email service that has one available.

    We will be skipping this today, as it is unnecessary to start testing PHP sites.

  27. To finish the installer and launch WampServer, click "Next," and click "Finish," keeping the "Launch WampServer…" checkbox selected.

WampServer should now be running.

Using WampServer to test a PHP site

If all went well, WampServer should be running. In order to verify this, look for a little WampServer ‘W‘ icon on your Windows taskbar on the right.

'w' icon for WampServer in taskbar.

This icon may appear either green, red, or orange. Green indicates that the server is online. Red indicates that the server is not online. Orange means that the server is online, but there is a problem keeping it from running any sites. If you ever get the orange icon, it is very likely a "port" issue.

NOTE: WampServer uses "port 80" by default in order to connect. So does Skype. If Skype is running, then you will likely run into this orange icon problem. The easy solution is to quit Skype, "Restart All Services" in the WampServer menu, and re-launch Skype, if desired. You can disable Skype from using port 80 by default in the Skype options.

Let’s test WampServer now. First we will activate WampServer’s menu.

  1. To open WampServer’s menu, click the ‘W‘ icon in the taskbar.
  2. A fly-out menu should appear.

    Fly-out menu for WampServer from taskbar icon.

    At the bottom of the menu, you should see "Start All Services," "Stop All Services," and "Restart All Services." If the server is offline (red ‘W’ icon), you can click "Start All Services." to bring WampServer online, making the taskbar icon go green.

    NOTE: If you make any changes to any configuration files associated with PHP, Apache, MySQL, or any other modules or plugins, you will have to click "Restart All Services" in order for the changes to take effect.

  3. To test if WampServer is working, click "Localhost" at the top of the WampServer menu.
  4. The default internet browser you chose earlier should launch or open a new tab, with the address being "localhost." localhost is the default alias for the root of the local server that WampServer is hosting. If all went well, you should see something like this:

    Successful localhost WampServer page.

    If your browser displays something like what the image above shows, then congratulations, WampServer is running successfully, and you can now start creating and editing PHP sites.

    NOTE: If the browser throws an error saying that it cannot find the resource, make sure that WampServer is running. Click "Start All Services" to make sure.

    If the browser says something else, like “forbidden”, then it’s possible that it is an IPv6-related issue. Try the WampServer localhost actual address, "" in the address bar of the web browser instead, as a simple solution.

    Now that we have verified that WampServer is up and running, let’s create a test PHP document.

  5. Open Notepad, or other text editor of your choosing.
  6. In the text editor, type <?php phpinfo(); ?>
  7. To save this as a PHP file, click File, click Save As…
  8. The root directory where localhost is pointing is in the "www" directory of WampServer’s install location. We will now create a new sub directory within that root, and save our file there.

  9. Navigate to the directory you installed WampServer (default is C:\wamp), double-click the www directory. Click "New folder" and name it "testsite."
  10. To save our file, in the "File name" field, type " index.php, and click "Save."
  11. We now have a php file in a sub-directory of our root called index.php. Let’s test it in a browser.

  12. To test the newly-created PHP file, in a web browser, go to the address: "localhost/testsite"
  13. The browser should now execute the phpinfo() function you wrote, and display the configuration of Apache, MySQL, and PHP, that WampServer has set up.

    NOTE: You didn’t have to type index.php into the address because that file name is configured as a "default" home page file name.

Congratulations, you are now ready to start testing your own PHP web sites! Remember to create a different sub-folder of the www directory to serve as the root for any web site you wish to create or work on. For example, you would create a PHPBA folder within WampServer’s www folder to serve as the root directory for the PHP: The Basics class.

Good luck with your PHP sites!

Using Windows DVD Maker to Burn a Movie Created With Windows Movie Maker Version 6.0

You may have noticed that version 6.0 of Windows Movie Maker does not have a “Save to DVD” option in the Save Movie Wizard. Since video files are typically very large and may not fit onto a CD, you might find this perplexing. Never fear! Microsoft didn’t just forget to include this option. Instead, they decided that since they were including Windows DVD Maker on machines with Vista Home Premium and Vista Ultimate Edition, there was no need to include a DVD burning option in WMM, too.

If you would like to learn how to use Windows DVD Maker to burn your movies to DVD, go to the following vista4beginners website:

Improve Remote Desktop in 4 Easy Steps

Business BibBack in the day, one of the more tantalizing promises of the internet was the ability to shop favorite stores while still wearing jammies. (For those of us living in small college towns, it seems like there’s no shame in wearing jammies anywhere – shopping, school, out to dinner – but I digress). We’re now at the point where the internet wave has also brought the ability for many folks to work a full-time, professional job while still wearing their jammies, via telecommuting.(Seen at right is the Business Bib, a suit-falsie so that jammies-wearing telecommuters can still look professional when in a videoconference.)

Many Windows users are familiar with Remote Desktop, which allows you to access your work computer, say, from your home or elsewhere. Depending on the robustness of your internet connection, however, you may find that Remote Desktop sometimes lags or provides a slow screen refresh, so that moving your mouse results in action on-screen several seconds later.  In this post, I’ll cover how to change a few settings in order to improve the performance of Remote Desktop so that you can be just as efficient in your jammies as you are when actually at school or work.

Four Steps to a Faster Remote Desktop Experience

Read the rest of “Improve Remote Desktop in 4 Easy Steps” »

Insert Video Footage from a Flip Camera Into a PowerPoint Presentation

Today a colleague of mine emailed me with a question about using Flip camera footage in a PowerPoint 2007 presentation. He was attempting to use the raw video files from his camera in a presentation but couldn’t get them to work.

PowerPoint 2007 allows users to import the following video file formats: .asf, .avi, .mpg or .mpeg, and .wmv. Since the Flip camera produces an uncompressed .avi file, we should be able to import it. Right?

Wrong. The fact is that even if your video file has the correct file extension, it may not play correctly if the correct version of the codec is not installed on your computer, or if the file is not encoded in a format that is recognized by your version of Windows.

The Flip camera captures video in MPEG-4 Advanced Simple Profile format and saves the video as an .avi file. So, then, perhaps we just need to download a codec and then it will work in PowerPoint?

No, wrong again. The Flip camera video uses the 3iVX codec. It can be downloaded free from a number of different sites on the Internet, and it is also included when you download and install the Flip camera software. But, even after installing the 3iVX codec, it isn’t possible to insert Flip camera clips into a PowerPoint 2007 presentation.

Read the rest of “Insert Video Footage from a Flip Camera Into a PowerPoint Presentation” »

Restore Arrangement of Desktop Icons After You Make a Remote Desktop Connection

I love being able to work from home. Since Windows Vista contains the Remote Desktop Connection feature, it is extremely easy to remote in to my work computer. This gives me access to all of the files, applications, and network resources that I have when I am actually sitting at my desk in my office.

Every time I connect to my office computer from another computer, however, it messes up the icons on my desktop. Read the rest of “Restore Arrangement of Desktop Icons After You Make a Remote Desktop Connection” »

Make a Remote Connection with Windows Vista

Remote Desktop Connection is a technology that allows you to connect to a second computer and take control of it. This makes it possible for you to connect to your work computer from computers at other locations and have access to all of your files, programs, available networks, and resources, or to connect to a friend or family member’s computer to do some troubleshooting when they are having problems.

Windows Vista comes with the Remote Desktop Connection installed, so you don’t have to buy or install any special software.

To make a connection, you must first enable Remote Desktop Connection on the remote computer (the one you want to connect to.) Read the rest of “Make a Remote Connection with Windows Vista” »

Get Training Tips via RSS Subscribe to Entries feed or Read Comments via RSS Subscribe to Comments feed.