How to install Composer in Windows

I wanted to install PHP Composer in Windows. And to begin, I already have a copy of XAMPP 1.8.1, I think if you have a different way to get your PHP that should not matter. I tested this to work for Windows 7 but it should work for all versions of Windows.

0. Download and install XAMPP

You can download XAMPP here. I got the 7zip version rather than the installer itself. The ZIP version is similar, just with a larger file size. I extract the xampp folder into my C: drive, i.e. to C:xampp. Then install it by opening the file C:xamppsetup_xampp.bat. That will set the paths in XAMPP’s configurations.

1. Setting up environment variables

Continue reading “How to install Composer in Windows”

Promising changes in IE9

Microsoft Internet Explorer 9 actually looks promising.

Welcome To A More Beautiful Web – Welcome To A More Beautiful Web – Internet Explorer 9

While the internet has kept up with every changing needs, however the way we experience hasn’t, until now! Welcome to a more beautiful web with Internet Explorer 9. Internet Explorer delivers a more beautiful Web by using the full capabilities of Windows and PC hardware so your Web sites and applications are as immersive as the native applications running on your PC.

Windows 7 is here

Windows 7 has a great showing in Singapore I heard. Congrats:

Interestingly, what’s missing in the video is Windows ME. It’s fine, it will not be missed anyway. Windows 7 is a great operating system offering from Microsoft. I’ve been using it since its prerelease. It’s worth the upgrade and the money.

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.


So how do I solve it:

  1. Download MSVCR71.dll from (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. 🙂


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

4 Gb RAM is a significant improvement

I never regret getting an additional 2 Gb for my memory, the improvement is significant and it delights me when applications launches quicker. I noticed the improved performance in applications such as Firefox and Photoshop. There’s a slight improvement in iTunes too I think, yes, that piece of crap.

The difference is less obvious in Windows 7 which already is pretty quick.

Some problems with XAMPP 1.7.0 and Windows 7

For some reason, I couldn’t get XAMPP 1.7.0 working in Windows 7. There appears to be some sort of issues. I tried the zip package or the 7z package and both have the same result. Instead I found XAMPP 1.6.8 to be working fine for Windows 7 and is using that for web development using PHP and MySQL. I can confirm that cURL and sendmail is working fine in the Windows 7 environment with XAMPP 1.6.8.

How to run XAMPP’s PHP CLI and CakePHP console

XAMPP is one of the easiest options to develop using PHP or PHP CLI. I use CakePHP for development and one of the features of CakePHP is to back the MVC. In this guide, we’ll see how to get started. This tutorial doesn’t teach you how to use CakePHP’s bake feature. This guide is specifically written for Windows Vista or Windows 7.

0. Objective

To run XAMPP’s PHP CLI, you first have to set up the environment variables for PHP CLI. Also introduce how to get started on CakePHP’s console.

1. Setting up environment variables

Continue reading “How to run XAMPP’s PHP CLI and CakePHP console”