by Nobbie » 20. December 2016 22:53
I would try it this way:
a) install the same Xampp Version in a Linux environment as you have under Windows
b) then rename the Linux htdocs folder (/opt/lampp/htdocs) to any other name (i.e. /opt/lampp/htdocs.backup)
c) copy the whole Windows htdocs folder (i.e. C:/xampp/htdocs) into the /opt/lampp folder
d) the same thing repeat with the MySQL data folder, rename the Linux data folder (unfortunately, it is not called "data") /opt/lampp/var/mysql to /opt/lampp/var/mysql.backup, then copy the whole Windows Data folder (i.e. C:/xampp/mysql/data) to /opt/lampp/var/mysql (do NOT copy the data folder into mysql folder, instead replace "mysql" by "data").
e) you may have to grant access to the newly created directories as it has been before with the original Xampp folders. This requires some basic linux knowledge, but linux knowledge is required anyway.
And then try to run it. It may run, it may fail, but then you should get some qualified error messages and try to solve the problems. This all sounds like by far more than it is in fact. If you are lucky, it should run in a few minutes only. If not, it is on you and your Linux knowledge to solve problems.