XAMPP Lite, Windows Vista, and php5apache2_2.dll

By  on  

I recently ran into a nightmare when needing to use my father's laptop for development.  My XAMMP Lite USB install, which worked perfectly on my Windows XP desktop, was giving the following error when trying to start Apache:

apache.exe: Syntax error on line 477 of E:/xampplite/apache/conf/httpd.conf: 
Syntax error on line 7 of E:/xampplite/apache/conf/extra/httpd-xampp.conf: 
Cannot load E:/xampplite/apache/bin/php5apache2_2.dll into server: The specified module
could not be found.

After 20 minutes of frustration, I finally found the golden solution.  I needed to download and place msvcr71.dll in my \xampplite\apache\bin folder.  Apparently it's a Microsoft runtime file that Vista doesn't have. Disaster averted!

Recent Features

  • By
    Chris Coyier’s Favorite CodePen Demos

    David asked me if I'd be up for a guest post picking out some of my favorite Pens from CodePen. A daunting task! There are so many! I managed to pick a few though that have blown me away over the past few months. If you...

  • By
    fetch API

    One of the worst kept secrets about AJAX on the web is that the underlying API for it, XMLHttpRequest, wasn't really made for what we've been using it for.  We've done well to create elegant APIs around XHR but we know we can do better.  Our effort to...

Incredible Demos

  • By
    JavaScript Copy to Clipboard

    "Copy to clipboard" functionality is something we all use dozens of times daily but the client side API around it has always been lacking; some older APIs and browser implementations required a scary "are you sure?"-style dialog before the content would be copied to clipboard -- not great for...

  • By
    Page Visibility API

    One event that's always been lacking within the document is a signal for when the user is looking at a given tab, or another tab. When does the user switch off our site to look at something else? When do they come back?

Discussion

  1. I think thats a DLL that gets installed with .NET.

  2. I would have loved to have known that back in April when I had to set up LAMP on a Vista laptop. Yikes, was it a nightmare!!! AT least I know the fix now. Thanks!!!!!

  3. Jeff Hartman

    That’s a relief.

  4. Tommix

    Does anyone can tell me-why you guys don’t use AppServ, i always used it and don’t know why use others.

  5. Rashy

    David try WAMP Server. It won’t ask you to disable UAC ;)

  6. From France : Thank you very much David, exactly the same problem, since some days. It’s for me a golden and diamond solution !
    And you give the good link to download this file : royal !

  7. BAguiar

    THANK YOU MAN

  8. alwic

    Thanks David, i have that problem too. hope it will fix the problem.

  9. Thanks a lot man . It was the perfect solution.
    Microsoft distorted our brains and wasted a plenty of our time.

    Thanks again.

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!