Jump to content
Sign in to follow this  
Kevan

Windows/apache To Linux/apache

Recommended Posts

I have a site hosted here at TCH and am recommending that TCH host an application for my company.

 

Currently the system is running in a WindowsXP / Apache / MySQL / PHP / Filezilla setup. I am suggesting that if the code is written properly the O/S should not matter. That switching to a Unix/Linux / Apache / MySQL /PHP setup might give them more options.

 

Can anyone give me clues on what problems we might encounter...or at least suggest what to look for when considering conversion from Windows to Linux?

Share this post


Link to post
Share on other sites
Guest GuestbobGuest
Currently the system is running in a WindowsXP / Apache / MySQL / PHP / Filezilla setup. I am suggesting that if the code is written properly the O/S should not matter. That switching to a Unix/Linux / Apache / MySQL /PHP setup might give them more options.

 

If you make the move to Linux; you get the same Apache, MySQL, PHP and even Filezilla if you really want it - but I guess you know this already......

You can export MySQL databases; and just move the document root over to the new machine.... similar security issues, configuration changes - and I guess you know that too :)

 

The biggest problem I believe (and how I managed to google your post) is as simple as the directory structure... Windows slash are the opposite to unix; and while windows doesn't care - unix will...

 

If you have web-based applications (this forum for example) you should be OK. However if you have custom pages and people have chosen to reference directories with the wrong slash, you'll have a task to convert them all. (the reason I' currently searching forums.....)

 

Much of this is more of an irritation than a problem; obviously you wouldn't turn off your Windows box until the other is working satisfactorily..... worst-case-short-term - you could always run both; redirecting traffic to your Windows box were necessary....

 

Good luck....

Share this post


Link to post
Share on other sites

Hi Kevan.

I run an Apache ... system on Windows for testing and then upload to my account here at TCH.

 

The thing that got me the most at the beginning is that Linux is Case Sensitive while WINDOWS IS NOT. So the site on a Linux server will think things are not there that I would swear were. Just a naming issue.

 

Other than that it works fine.

Share this post


Link to post
Share on other sites

I run php forums on my own website as well. However, the setup we are looking to convert is not quite as easy as that.

 

Yes, My guess is both the directory structure and folder / file case issues will be areas for clean-up before the conversion.

 

It's the other unknowns that bother me too.

 

Thanks to both of you for your comments.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...