Best way to Upgrade wamp 2.0 to 2.5

前端 未结 4 1694
臣服心动
臣服心动 2020-12-04 17:01

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

相关标签:
4条回答
  • 2020-12-04 17:20

    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.

    0 讨论(0)
  • 2020-12-04 17:22

    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

    0 讨论(0)
  • 2020-12-04 17:34

    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!

    0 讨论(0)
  • 2020-12-04 17:37

    To update to latest wamp version safely, use http://wampserver.aviatechno.net/ You can update complete wamp or install newer php/apache versions.

    0 讨论(0)
提交回复
热议问题