Best way to Upgrade wamp 2.0 to 2.5

Devis Luis picture Devis Luis · Aug 8, 2014 · Viewed 33.6k times · Source

My wamp 2.0 is using around more than 100 large database and a lot of projects.I also made around more than 50 virtual host. Now I need to upgrade wamp 2.0 to 2.5.

I got some suggestion on internet that take back up of database and files , then uninstall wamp 2.0 and install 2.5 then set up every thing again, but it seems it is not a right way.

What is the best way ?

Answer

Vikas Kumar picture Vikas Kumar · Aug 8, 2014

Usually I follow following steps to do it easily.

  1. Stop Wamp Service
  2. Rename the wamp folder to wamp-backup
  3. Download latest version of wamp and install it
  4. Rename the data folder of mysql with some different name (C:\wamp\bin\mysql\mysql5.5.20)
  5. copy data folder of mysql from wamp-backup and paste it to new install wamp mysql folder (C:\wamp\bin\mysql\mysql5.5.20)
  6. Rename new httpd-vhosts.conf file to httpd-vhosts-backup.conf.
  7. Copy old httpd-vhosts.conf and paste to new installed wamp (C:\wamp\bin\apache\Apache2.2.21\conf\extra)
  8. 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.