develop on windows, run on linux?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jayd_fez
Forum Newbie
Posts: 2
Joined: Fri Jun 24, 2005 3:54 pm
Contact:

develop on windows, run on linux?

Post 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.
AngusL
Forum Contributor
Posts: 155
Joined: Fri Aug 20, 2004 4:28 am
Location: Falkirk, Scotland

Post 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.
jayd_fez
Forum Newbie
Posts: 2
Joined: Fri Jun 24, 2005 3:54 pm
Contact:

Post 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.
Post Reply