how to upgrade or migrate from 1.6.8 to 1.7.3

Problems with the Windows version of XAMPP, questions, comments, and anything related.

how to upgrade or migrate from 1.6.8 to 1.7.3

Postby citrixz » 08. November 2010 14:23

Can someone please tell me how I can move from Xampp version 1.6.8 to 1.7.3 or point me to a step by step guide.
Much appreciated, thanks
citrixz
 
Posts: 1
Joined: 28. October 2010 17:27

Re: how to upgrade or migrate from 1.6.8 to 1.7.3

Postby JonB » 09. November 2010 21:16

OK - I'll give it a shot -

1 - make an archival copy of your whole XAMPP folder and store it somewhere.

2 - Use either phpMyAdmin or mysqldump.exe to create a backup of all your databases in MySQL if you are using it.

3. Besides your archival copy, make yourself a folder for study and put the apache\conf folder, config.inc.php and the php.ini into your "Important Files" folder.

4. extract an original copy of your old version into a folder you create in a convenient spot. Now use a source comparator like WinMerge to check the two folder sets. (this is real important if you have been coding or have modified your php.ini etc)

5. If you have a blog. CMS or Forum - be sure to know how to back it up!!! - then do the backups. If you are considering upgrading it, wait until you have XAMPP working and your OLD stuff converted.

PAUSE - XAMMP is registry independent, AND as long as you have don't Apache and MySQL (or things like FileZIlla etc) running as services, you can actually install your NEW XAMPP version to a folder like XAMPP-NEW and get it working without pitching the old version till things are working OK.

Those are my thoughts, there are probably more things that should be considered - maybe Altrea or Nobbie (with more time at the XAMPP thing in particular) will give their ideas...

Good luck and feel free to ask questions
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: how to upgrade or migrate from 1.6.8 to 1.7.3

Postby Altrea » 09. November 2010 21:45

Okay, let me think about it...

I would do something like this:

1. see Point 1 at JonBs post. very very important: Better do one backup too much than one to less. It's better to be safe than sorry! Good advise is: Set a Windows restore point or make a complete HDD Image if you have some Image program like Acronis True Image or Norton Ghost.

2. if you have some big databases (hundreds of tables, hundreds of thousant of entrys), don't use phpMyAdmin for exporting your databases (you could ran into an timeout without any error message and get an uncomplete/corrupt export file). Better use a script which avoids the timeout (i use mysqldumper for that), the command line tool mysqldump, or just use your local copy of the xampp\mysql\data folder for that. Last option is just a good idea if you don't jump too many releases at one step or backwards).
Make some notes about the existing MySQL Users and Permissions! You will need to restore the Application Users later.
If you do DB-Exports, some DB tables like phpmyadmin or mysql are not needed. Just Export the Databases of your own Applications

3. i would simply move the whole old xampp folder somewhere. Thats especially a good idea if you want to use the copy mysql data folder option. But before you do that, be sure that all xampp services are unregistered, all xampp components are stopped and all xampp applications (like the xampp control panel) are closed

4. Install a fresh copy of XAMPP 1.7.3. Follow the default installation instructions for that => extract it into the root directory of your HDD, execute the setup_xampp.bat script

5. Don't compare the new version with the old one. Your fresh installation have some changes in the config files which are good practice or completely new. If you have later some problems, you can enable missing modules or change one or another configuration by hand. But that way you know what you have changed and you can inform yourself, why this change is needed and what this change will do.

6a. If you do the mysql data option: Copy the old xampp\mysql\data to your new xampp\mysql folder. If you were ask for overwriting something, deny.
6b. If you do the mysqldump command line export option, start the command line and restore the databases
6c. If you do the mysqldumper export option, restore it again with the mysqldumper script. Thats very self explaining.
6d. If you do the phpmyadmin export option, start the Apache and MySQL of your new XAMPP installation, login to phpmyadmin and import your export file

7. insert all needed mysql user (for example with phpmyadmin, you have to start your new Apache and MySQL for that)

8. Copy all your scripts from your htdocs folder to the new htdocs folder

9. Test your scripts.
Last edited by Altrea on 10. November 2010 18:57, edited 5 times in total.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: how to upgrade or migrate from 1.6.8 to 1.7.3

Postby JonB » 09. November 2010 22:45

I think I may have not explained very well what i wanted to do with the comparator

I wanted to compare the extracted 'old' download with the 'old installed' particulary folders for things like blogs/CMS/Forum looking for code fixes.

:shock:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: how to upgrade or migrate from 1.6.8 to 1.7.3

Postby Altrea » 09. November 2010 22:55

JonB wrote:I think I may have not explained very well what i wanted to do with the comparator

I wanted to compare the extracted 'old' download with the 'old installed' particulary folders for things like blogs/CMS/Forum looking for code fixes.

:shock:


AH, i got it! Thats a good idea :!: :mrgreen:
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 94 guests