Page 1 of 1

develop on windows, run on linux?

Posted: Fri Jun 24, 2005 4:00 pm
by jayd_fez
Hi, I am a web development n00b and I just want to confirm that I should have no trouble developing in PHP on Windows and running the site on Linux. I will be able to take my site's files from the Windows workstation and copy it onto the Linux server, and there should be no problems within the code, right?

Right now I am developing a site in ASP.NET with Microsoft's Visual Web Developer. The company I'm doing it for may want to use a linux server to save money, in which case I'd have to switch to something like PHP.

Thanks.

Posted: Fri Jun 24, 2005 4:05 pm
by AngusL
It is still possible to run ASP on a *nix server. You are however correct, PHP and ASP scripts will both (assuming you have a suitable web server installed) work on absolutely any platform - assuming you allow them to be so, changing file paths and anything else that might be different for example as suitable. The scripts aren't compiled as executable files themselves and don't contain any platform-specific code.

Posted: Fri Jun 24, 2005 5:16 pm
by jayd_fez
I guess I should've known it was possible to run ASP.NET applications on linux, because having it only run on windows would defeat the purpose of .net, lol.