7

"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.

1
  • 1
    why you need to pay window license for something that is free?
    – ajreal
    Dec 11, 2010 at 8:50

5 Answers 5

5

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... :-) )

3

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.

1

Apache and PHP run fine on Windows.

They run much better on Linux, but that's not an issue when you don't need huge performance.

0

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.

1
  • 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. May 18, 2013 at 5:19
-2

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .