This question already has an answer here:
- Best way to Upgrade wamp 2.0 to 2.5 2 answers
I downloaded latest wamp server and I installed in my system with php version 5.5.12 and now I want to upgrade php version to 5.5.27 with safely.. How can I upgrade?
One important step is missing in all answers. I successfully upgraded with following steps:
For someone who need to update the PHP version in WAMP, I can recommend this http://wampserver.aviatechno.net/
I had a problems with updating too, but on this website are Wampserver addons like new php version (php 7.1.4 etc.) And you don't have to manually edit files like php.ini or phpForApache.
Enjoy!
WAMP server generally provide addond for different php/mysql versions. However you mentioned you have downloaded latest wamp server. As of now, latest Wamp server v2.5 provide PHP version 5.5.12
So you need to upgrade it manually as follow:
Although not asked, I'd recommend to vagrant/puppet or docker for local development. Check puphpet.com for details. It has slight learning curve but it will give you much better control of different versions of every tool.
To add to the above answer (do steps 1-5).
wamp\bin\php
directory and extract it like this(Note: you need to rename your folder to phpversionOfPhp