Page 1 of 1

How To Transfer Xampp To New Install??

PostPosted: 24. March 2012 09:33
by sarahjanes88
I recently purchased a new SSD so did a fresh install of Windows 7 64bit. Xampp version 1.7.4 was previously installed.

I reinstalled Win7 and installed the latest Xampp version 1.7.7. I followed these steps below.

1. Copied the htdocs directories and files to the 1.7.7 installation.

2. Copied the mysql/data folder to the new 1.7.7 installation.

Most of the websites AREN'T working for some reason. They can't connect to the database and there is nothing in the database when I check phpmyadmin?

I noticed that the websites that still work have .frm, .myi and .myd files. The websites ONLY with .frm files don't work? How can I get the .myi and .myd structure back?

What is the easiest way to copy everything across from 1.7.4 to the new install of 1.7.7????

Thanks!

Re: How To Transfer Xampp To New Install??

PostPosted: 24. March 2012 10:13
by Sharley
viewtopic.php?f=16&t=50224

What do you want to copy over from 1.7.4 - you can only copy your own files from not any system files or they will not work as 1.7.7 has many changes since 1.7.4.

Re: How To Transfer Xampp To New Install??

PostPosted: 25. March 2012 06:30
by sarahjanes88
Hi Sharley,

Your post didn't really help me out??

I want to install the new 1.7.7 version of Xampp on my PC.

I have a backup of my old Xampp 1.7.4 folder so have data, htdocs etc.

I want to install 1.7.7 but I am missing .myi and .myd files in the /mysql/data directory. I only have the .frm files?? What do I do to migrate??

Re: How To Transfer Xampp To New Install??

PostPosted: 25. March 2012 07:09
by Sharley
Download the zip version from here:
SourceForge XAMPP File Repository
Copy over the missing files.

Or do a complete reinstall using the zip/7zip method in this post:
viewtopic.php?p=179699#p179699
which might be the best idea because you are still at the early stage of installing 1.7.7 - but be careful what you use to extract the 7zip file as we found an issue that fails to extract zero length files, which seems to be your problem and XAMPP has many zero length files that it uses to function correctly:
viewtopic.php?f=16&t=48955

I hope this post is more helpful. :)

Re: How To Transfer Xampp To New Install??

PostPosted: 25. March 2012 08:27
by sarahjanes88
Thanks for that :)