English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hi, can i build the *.html/*.php files from windows (which means I installed apache 2.0, php, mysql myself on windows) and then I upload it (using FTP) to any web server that run on linux? No conflict?
Thank you very much.

2007-06-15 06:49:41 · 5 answers · asked by Sabirk88 1 in Computers & Internet Other - Computers

5 answers

HTML is independent of the operating system. In fact, it doesn't run on the server, but on the browsers it is downloaded to.

The only glitch you might run into is with line terminators. I think Windows uses CR/LF, while Linux uses just LF. By the way, you might want to consider downloading GVIM as your editor. It runs under Windows, but is also Unix savvy.

2007-06-15 06:52:53 · answer #1 · answered by The Phlebob 7 · 0 0

The html files should work with no changes, since you'll be using Apache on windows and linux.

The php files will also work unless you are relying on Windows only functionality, like using a system command to run a windows program and using the results of that. This tends to be uncommon.

If your versions of apache, mysql and php are roughly the same, then it should work with no additional changes.

2007-06-15 06:56:52 · answer #2 · answered by Isofarro 3 · 0 0

Yes, you can use *.html and *.php files that are composed on a windows machine and then upload them to a linux file server. They will run without issue. html and php and both protocols/languages that are independent of the operating system they are run on. As long as there is server is built to handle php files, you are good to go. html files are implemented on the browser on the local computer they are accessed from. The server simply serves them to whatever computer is requesting a particular website.

2007-06-15 06:55:18 · answer #3 · answered by Mess 2 · 0 0

New site owners who're attempting to decide for a information superhighway host often discover that they are confronted with a plethora of information superhighway hosts offering a super variety of information superhighway information superhighway hosting applications. some information superhighway hosts supply you a variety of applications using the Linux working device, others FreeBSD, and nevertheless others domicile windows. i'm from time to time asked with the aid of beginners no count if the working device of the equipment concerns, and no count if or not they could decide for a Linux equipment or a domicile windows one. some tell me that they are using a Mac, and ask no count if there is any such subject as a information superhighway host offering Mac applications. the substantial's, for people who hate to examine long motives, in case you ought to use domicile windows-particular technologies like ASP, .internet, MSSQL or get entry to on your internet site, that is in all probability much less complicated to get a domicile windows information superhighway information superhighway hosting equipment. In all different circumstances, such with the aid of fact the placement the place you have not have been given any thought what "ASP, .internet, MSSQL or get entry to" potential, i in my view sense that your existence would be much less complicated in case you get a Unix-based (Linux, FreeBSD, Solaris, etc) answer.

2016-11-24 21:59:46 · answer #4 · answered by ? 3 · 0 0

It should work.

2007-06-15 06:53:16 · answer #5 · answered by GTB 7 · 0 0

fedest.com, questions and answers