Skip to the content...

Welcome to the David Walsh Blog. I'm a MooTools, Dojo, jQuery, CSS, and PHP Web Developer located in Madison, Wisconsin, United States. Please contact me if I can make your experience on my website better.

XAMPP Lite, Windows Vista, and php5apache2_2.dll

9 Responses »

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!

Discussion

  1. May 22, 2009 @ 8:49 am

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

  2. May 22, 2009 @ 9:47 am

    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
    May 22, 2009 @ 12:53 pm

    That’s a relief.

  4. tommix
    May 22, 2009 @ 4:11 pm

    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
    May 23, 2009 @ 3:07 am

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

  6. July 6, 2009 @ 3:14 pm

    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
    July 16, 2009 @ 2:52 pm

    THANK YOU MAN

  8. alwic
    October 15, 2009 @ 9:25 pm

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

  9. August 1, 2010 @ 5:13 am

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

    Thanks again.

Be Heard!

Share your thoughts with fellow developers of all skill levels! I want to hear from you!

Name*:
Email*:
Website:  
Wrap your code with <code> tags, f00!