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.
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.
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.
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.
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.
If everything went correctly then you will see the correct PHP version on your command prompt like so
That’s all there is to it for migrating from PHP 5.3.X to PHP 5.5.X version.
Hope the above helped!