How to upgrade from PHP 5.3.x to 5.5.x on Windows 7 in 4 easy steps

I have been using PHP 5.3.29 on my PC for some time now as many PHP open source frameworks and applications had been supporting PHP version uptill 5.3.X. However with time PHP has progressed and with new and stable versions coming up the benchmark of support has shifted from PHP 5.3 to PHP 5.4 and above. With this, the time had come to bid adieu to PHP 5.3 and move to the latest stable version in the PHP 5.X series i.e. PHP 5.5

Now PHP has stopped giving out windows binary installation files since PHP 5.3 so if you need to upgrade you will need to download the required files from php.net and manually configure the PHP version on your PC.

Step 1

First check the PHP version on your PC. Open the command prompt and write php -ver which displays the current PHP version on your PC.

php 5.3 version from you command prompt

Step 2

Browse over to http://windows.php.net/. Click on the archive link on the bottom left side.  You will reach this page http://windows.php.net/downloads/releases/archives/. Download the latest thread safe PHP 5.5.X version from the list you are shown on the page. I have highlighted the one I have downloaded in this example.


Step 3

After downloading the zip file extract the contents. Create a new directory on any of your drive. I created one by the name of php55 so that I can remember which PHP version this is. I then updated the PATH variable with the location of this PHP directory.

Step 4
After updating the PATH variable I then tried to check whether the new PHP version has kicked in or not. Unfortunately  I received a Windows alert with the following message

php.exe – System Error

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

If you receive this message then there is nothing to worry. You just head on to Microsoft website and download and run the executable file from there.

MSVCR110.dll missing file resolution

If everything went correctly then you will see the correct PHP version on your command prompt like so

php 5.5 version on your command prompt
That’s all there is to it for migrating from PHP 5.3.X to PHP 5.5.X version.

Hope the above helped!

About Adeel Sarfraz 186 Articles
Adeel Sarfraz is a web developer based in Karachi Pakistan. He has a BS in Computer Engineering from S.S.U.E.T. He has expertise in PHP, ASP.NET, JSP, Python, Classic ASP and does freelance web development in his spare time. He develops websites in Oscommerce, Zen Cart, Magento, OpenCart, Wordpress, Joomla and Drupal. He also knows about SEO and how to convert your visitors to becomes your customers.

Be the first to comment

Leave a Reply