Are you using WAMP managers Version switching feature.
If so you will need to switch ALL of apache/mysql/php together to ensure compatibility. If you just switch Apache its not enough. So that means you need to switch all 3 as there appears to be an incompatability somewhere in those specific releases.
Specifically it looks like you forgot to switch the PHP version back to 5.3.10.
I've stopped all the services and switched to all the relevant versions.
Wamp says I'm on the correct versions (or, the tick is next to the correct version), and the wampmanager.conf file says I'm on the correct versions too.
So potentially you have edited the wrong php.ini file when you made one of the switches. Or switched php before apache.
Hold on to your smalls this could get bumpy!!
Apache expects a php.ini file to exists in its bin folder and of course it does using wamp. But because you can switch PHP versions this file needs to change when you switch php versions. Now when you use the wampmanager link to edit php.ini it edits the php.ini file in the apache/currentversion/bin folder, otherwise changes to it would not take effect when you restart apache.
So wamp has to look after this file for you.
When you switch PHP versions it needs to make this php.ini config safe so it copies apache/currentversion/bin/php.ini into php/currentversion/phpForApache.ini hence saving it.
It then copies the php/newversion/phpForApache.ini into the apache/currentversion/bin/php.ini
Of course it also does whatever to make sure the correct php.exe is being used as well but thats not relevant now.
So I think to fix your problem you need to
Switch apache to the correct version, then switch php to the correct version. This should put the correct php.ini file into the correct apache/bin folder. You may need to switch a few times to get it all back in line but basically switch APACHE first and PHP second.
PS. the php.ini file in the PHP/phpversion/php.ini is only used for the PHP CLI environment ( command line php )