Download AMPPS

Subscribe to our Newsletter for any and all AMPPS related news and tutorials
By entering your email, you agree to our Terms of Service and Privacy Policy.

Tell your Friends about AMPPS


Upgrade AMPPS 3.x to AMPPS 4.x

Overview

This guide will explain you how to upgrade your AMPPS 3.x installation to 4.x

 

Note: If you already have AMPPS 4.x version installed you can directly update to the latest version by click on Update AMPPS button AMPPS UI.

Note: If you have recently installed older version of AMPPS and do not have any important data then please Uninstall AMPPS 3.x and install latest version AMPPS 4.x as that will be the fastest way.


Backup your Data

Note: Please take a note of MySQL version before update.

  • To be safe export your existing databases to SQL files using phpMyAdmin or mysqldump utility
  • Please close AMPPS 3.x application and make sure AMPPS 3.x is not running in the background
  • Rename your existing Ampps installation folder to Ampps.bak


Install Latest AMPPS

  • Refer to the following guide to install AMPPS :


Restore Data from Backup

  • 1.  Close AMPPS 4.x application and make sure it is not running in the background
  • 2.  Now copy the www folder from Ampps.bak folder and paste at new Ampps installation folder

NOTE: If your previous MYSQL version is less than 5.7 then you have to manually import database SQL files using Import functionality of phpMyAdmin and create database users manually. You should skip step 3 and 4.

  • 3.  Rename the existing MySQL data folder in AMPPS 4.x installation Ampps/mysql/data to Ampps/mysql/data.bak
  • 4.  Now copy the backed up MySQL data folder from Ampps.bak/mysql/data to Ampps/mysql/data
  • 5.  Copy AMPPS data folder from Ampps.bak/private to Ampps/private
  • 6.  Copy AMPPS domain data file from Ampps.bak/ampps/data/domains to Ampps/ampps/data/domains
  • 7.  MySQL password file from Ampps.bak/ampps/data/my.conf to Ampps/ampps/data/my.conf
  • 8.  Now start your AMPPS application and start Apache and MySQL and verify if your sites etc works fine.

       

 

    Was this page helpful?
    Newsletter Subscription
    Subscribing you to the mailing list