Page 1 of 1

need to migrate app done in lampp ubuntu to xampp for win

PostPosted: 13. February 2007 05:06
by ghmercado
hi all

here are the details of my problem:

> i need to migrate a lampp installation that was written on a linux computer to a xampp windows installation.
> I cannot contact the person who made it anymore to do the job for me.
> I am new to Xampp.
> I need to make the application run on a personal workstation only (ie. not on the Internet). I already have php, apache and mysql running on my machine.

Which is easier?
Transfer it from Lampp to Xampp? or..
Transfer the relevant php and .sql files to my personal workstation webserver?

any info re above will be much appreciated. thank you!

PostPosted: 13. February 2007 06:19
by Wiedmann
Transfer it from Lampp to Xampp? or.. to my personal workstation webserver?

I see no difference between your options. With both ways you have the same problems or no problem ;-)

I already have php, apache and mysql running on my machine.

LAMPP = is a normal Apache/MySQL server and have PHP
XAMPP = is a normal Apache/MySQL server and have PHP

PostPosted: 13. February 2007 06:24
by ghmercado
well the root of my problem is, the lampp app runs on linux while i want it to run on my windows machine. apologies if this was not made clear.

how to do this?

I'm sure its something really simple i just need someone to point me in the right direction. thanks again.

PostPosted: 13. February 2007 06:56
by Wiedmann
Transfer the relevant php and .sql files

That's the correct way.

(Regardless if you have XAMPP or your personal workstation webserver installed on Windows.)

PostPosted: 14. February 2007 06:27
by ghmercado
hi its me again. and again sorry for the ultra - newbie questions, but I am now working on the 'transferring the relevant files' part.

I've managed to successfully run the default xampp app on windows. I've also migrated the .sql file of the previous developer via phpmyadmin, no problem.

However I am having problems with the php files he has made. I saw that when xampp runs, it accesses the files in the htdocs folder.

I archived the files inside the htdocs folder and replaced them with the files in the previous lampp files and instead i got a server 500 error.

Unfortunately I have not even seen the previous application (not even screenshots), but from the contents of the php files, and the fact this was all reported to be working before it was sent to me, I gather it was all ok.

Pls. let me know if there are documented steps to migrate an app from LAMPP linux to XAMPP windows? Even documentation to migrate a php/mysql app done in LAMPP linux to a webserver can also work for me.

Thank you in advance!

PostPosted: 14. February 2007 15:32
by Wiedmann
instead i got a server 500 error.

Look into the "error.log".