Hello
You should also update apache php module
@soju - this is fixed, thanks, but I thought I would make it a little understandable to others.
Apache requires the php module to service php files. On Windows, it looks like a DLL file. This will be called: php5apache2_2.dll - located in your php folder. Strange, however, when updating the php folder with a newer version, you may find out that apache is still using the old php module file. Thus, while php -v correctly reports the new version, Apache is still looking at the old php module (reported by phpinfo). To find out which version of the module you have, you can: right-click on the .dll file> select properties → view the details tab. Or just hover over the file.

If this version is not what you want, you may want to find a new version and replace it. A good idea for backup first. In addition, the php5apache.dll file works with the php5ts.dll file and requires it: so make sure that these files have the same version.
With your httpd.conf file with the directive:
LoadModule php5_module "\path to\php5apache2_2.dll"
You can restart apache and smile!
source share