Click to See Complete Forum and Search --> : WIN2k v Linux


trooper
12-19-2001, 03:22 PM
HI all

I've been given a big WIN2K server touse as our development server. THing is the live box is linux. What i want to be able to do is develop on the developent box and just copy the files to the live box. I don't want to have to make loads of changes to enable it to work on the live box.

What should i need to consider when building the development server.

I've sucessfully set up apache 3.20 and php 4.1 and mysql 3.23.46.
I've also copied the directories and files from the live box to the development server.

So my directory structure is exactly the same (a good start me thinks)

I've also set the SMTP value in the php.ini file to point to our SMTP server and given the from value a valid email address.

I'm also aware that the path to the web server is different. To get round this i'm using $DOCUMENT_ROOT for all img src's and A Hrefs (where the target is on the same box). I'e checked a few scripts and $DOCUMENT_ROOT is working fine.

What else should i be aware of / look out for ?

any advice gratefully received

GM

mithril
12-19-2001, 04:07 PM
The ideal setup is obviously to have your dev. server as an exact mirror of the live box, but I think you've pretty much got the basics taken care of. Just remember the different modules (ie. COM for Win32, mcrypt on *Nix) and functions (network functions mainly) which are OS specific when you're developing. I personally develop on a Win2K box and deploy to a Debian server. I've never run into a hitch beyond the differing DB's (the live box is now PostgreSQL and dev is MySQL.... and that's just a new development:).

-geoff

Anon
12-19-2001, 05:11 PM
Consider SuSE or Red Hat Linux; be aware of / look out for Windows ANYTHING !