Best way to Upgrade wamp 2.0 to 2.5

坚强是说给别人听的谎言 提交于 2019-11-27 18:01:32

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.

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

You may directly Upgrade Wampserver from Secondary repository of Wampserver files.

There are various options present on the site:

  1. Install Wampserver full version
  2. Wampserver Update
  3. Addons-
    • Applications
    • Apache
    • PHP
    • MySQL
    • MariaDB

Also, one could directly download Tools and Visual C++ packages from here.

So, my suggestion would not be to make any changes in any file in the wamp, nor uninstall the present wamp, and download the latest version. Simply update your wampserver from this website.

There will be no change to the Apache, PHP, MySQL, and MariaDB settings and versions used; your local sites and databases will not be affected. This update will be necessary to be able to install the last addons Apache, PHP, MySQL or MariaDB

Quoted from the site itself.

NOTE: Before uptading, you may just make a copy/backup of your "wamp folder" somewhere on your local machine. In case there is some issue in the update, you won't lose any file and always be able to restore your previous work.

Hope this answer helps someone, if it does kindly upvote. All the best!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!