Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to Upgrade wamp 2.0 to 2.5

Tags:

upgrade

wamp

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 ?

like image 477
Devis Luis Avatar asked Aug 08 '14 06:08

Devis Luis


2 Answers

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.

like image 150
Vikas Kumar Avatar answered Sep 23 '22 09:09

Vikas Kumar


you should do this , I recently updated it , first of all I took my Wamp directory back, then uninstall Wamp not remove the www directory , After that install the latest wamp on the same location , after this copy the folder named data inside the old wamp bin\mysql\mysql5.5.24 and paste that folder inside your new wamp on the same location then run your projects after starting the wamp services.

Note: folder version of db may be different and also latest wamp is based on virtual host so create v hosts also

Thanks

like image 31
Shah Rukh Avatar answered Sep 22 '22 09:09

Shah Rukh