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

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

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

Postby ghmercado » 13. February 2007 05:06

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!
ghmercado
 
Posts: 3
Joined: 13. February 2007 04:55

Postby Wiedmann » 13. February 2007 06:19

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
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby ghmercado » 13. February 2007 06:24

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.
ghmercado
 
Posts: 3
Joined: 13. February 2007 04:55

Postby Wiedmann » 13. February 2007 06:56

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.)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby ghmercado » 14. February 2007 06:27

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!
ghmercado
 
Posts: 3
Joined: 13. February 2007 04:55

Postby Wiedmann » 14. February 2007 15:32

instead i got a server 500 error.

Look into the "error.log".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 123 guests