How to fix missing MSVCR71.dll problem in Windows

I am using Windows 7, and I’m lacking MSVCR71.dll which is Microsoft Visual C Runtime library when using sendmail, the PostgreSQL PHP connector and curl. The MSVCR71.dll is probably bundled with .NET Framework 1.1 or something, but I couldn’t get those to install successfuly.
The program can't start because MSVCR71.dll is missing from your computer. Try reinstalling the program to fix this program.

The program can’t start because MSVCR71.dll is missing from your computer. Try reinstalling the program to fix this program.

[ad#simple]

So how do I solve it:

  1. Download MSVCR71.dll from dll-files.com. (It is free.)
  2. Unzip…
  3. Place MSVCR71.dll into C:WindowsSystem32 or C:WindowsSysWOW64 if you using a 64-bit Windows.

And sendmail now works for me already in Windows 7.

By the way, I only tested this in Windows 7 64-bit. I assumed it would work for other versions of Windows. I would appreciate it if you could feedback to me if it works on your version of Windows. 🙂

Additions

It is reported working for Windows 7 32-bit as well.

How to enable cURL in PHP for Windows

I’m using Windows Vista and Windows XP. Enabling cURL (Client URL Library) of PHP is really easy and is a matter of uncommenting something only.

Open your php.ini. I use XAMPP for development, XAMPP’s php.ini can be found in C:xamppapachebinphp.ini. You can probably find your copy lurking around there if you use XAMPP.

Do a search of ‘curl’ in the php.ini, there’s probably only one.

extension=php_curl.dll

Uncomment it.