Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

"Everyone" know that Apache is for Linux/Unix and on Windows IIS is the way to go.

However, I'm not a pro at Linux and it would be an enormous relief for me to use just the same setup in the production environment that I use during development. I'm a solo developer and I'm trying to make things as simple as possible. I've already got rid of other issues like storage (->cloud) emails (->postmark).

So, what are the real drawbacks that can happen when I just put Apache in Windows virtual private server from Rackspace and use it as the main production environment for a PHP project? Money for more VPS resources is not that big issue compared to the possibility of not having to learn a different OS.

Super-heavy traffic is not expected. Also my PHP project can be quite optimized. There are some heavy scripts, but only for the inside (logged) users. All else can be served more or less statically.

share|improve this question

migrated from stackoverflow.com Dec 11 '10 at 19:57

This question came from our site for professional and enthusiast programmers.

    
why you need to pay window license for something that is free? –  ajreal Dec 11 '10 at 8:50

5 Answers 5

Its just that Apache ans PHP was just not deigned for the closed nature of windows, and hence preforms much better on Unix systems. I suppose that if its a small install it should be ok. I would still highly recommend leaving windows altogether and going for linux. A good place to start is with Ubuntu.

share|improve this answer
    
What has to do the design of Apache and PHP with "the closed nature of Windows"? They don't need to access the "open source nature of *nix" to run. Both actually run perfectly fine on both OSs. You probably need more resources than you would need on *nix, but if your server has them, and you are using a server version of Windows, you can expect the same good performance on both. I've been actually running projects on both OSs, which mirror each other on general configuration for Apache, PHP/Perl and MySQL, and I get the same good performance on any of them. –  Francisco Zarabozo May 18 '13 at 5:19

You mention you are trying to do things as simple as possible in Windows for this matter, well then you might be interested in using WAMPStack, from Bitnami.

Other stacks you find there might come handy, too.

share|improve this answer

Why do you need Apache? You can run PHP directly with IIS: http://php.iis.net/

We run several Wikimedia (= php/mysql) sites on our Windows IIS server. Works great.

share|improve this answer

As long as your platform is a server platform and not workstation, it will work. (windows workstation platforms has limitation on the number of concurrent connections)

Linux is way more efficient, but if your site pass the load tests you expect on windows os... no reason to go to Linux. (besides price, stability, resouece consumptions... :-) )

share|improve this answer

Apache and PHP run fine on Windows.

Much better at Linux, but that's not an issue when you don't need hugh performance.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.