Usually I follow following steps to do it easily.
- Stop Wamp Service
- Rename the wamp folder to wamp-backup
- Download latest version of wamp and install it
- Rename the data folder of mysql with some different name
(C:\wamp\bin\mysql\mysql5.5.20)
- copy data folder of mysql from wamp-backup and paste it to new
install wamp mysql folder (C:\wamp\bin\mysql\mysql5.5.20)
- Rename new httpd-vhosts.conf file to httpd-vhosts-backup.conf.
- Copy old httpd-vhosts.conf and paste to new installed wamp
(C:\wamp\bin\apache\Apache2.2.21\conf\extra)
- In apache 2.4, the directive Allow was dropped in favor of new
directive Require. So change the settings from Order Deny,Allow
Deny from all Allow from all to Require all granted
From
Order Deny,Allow
Deny from all
Allow from all
to
Require all granted
9.The old www folder in wamp needs to be copied into the new one.
Let me know whether it's working or not.