Google Answers Logo
View Question
 
Q: Stability of PHP on Microsoft Windows ( Answered,   0 Comments )
Question  
Subject: Stability of PHP on Microsoft Windows
Category: Computers > Programming
Asked by: nicodevries-ga
List Price: $60.00
Posted: 29 Aug 2003 05:35 PDT
Expires: 28 Sep 2003 05:35 PDT
Question ID: 250136
We have PHP based software which is running flawlessly under Windows
(with Apache) at some of our customer sites. Unfortunately one of our
prospects is convinced that PHP under Windows is unstable.

What I am looking for is "proof" that recent versions of PHP (with
Apache) under Windows are stable. E.g. examples of well known
organizations using this combination. Hosting providers selling this
combination. Statistics on this issue. Research on this issue. Etc.

I am aware older versions of PHP have had some problems because they
(or some PHP modules) where not tread safe. Detailed information on
when and how those issues have been solved is welcome as well.
Answer  
Subject: Re: Stability of PHP on Microsoft Windows
Answered By: wildeeo-ga on 09 Sep 2003 15:38 PDT
 
Hi, nicodevries-ga. Thank you for your question.

In short, the combination of PHP and Apache is generally considered
very stable and secure, on any platform. Since the UNIX and Windows
version will be based on the same codebase, and PHP is running on the
same server software, the stability should be pretty much the same.
There are no serious issues with PHP and Apache 1.x on any platform,
Windows included.

Netcraft (http://netcraft.com/), a site dedicated largely to
monitoring the uptime of servers and tracking the software used on
them, recently published a brief article on the growing use of PHP on
the windows platform. According to the article, the following large
companies run PHP under Windows:

- Nokia (http://www.nokia-mobiltelefoner.dk/)
- Valero (http://www.valero.com/)
- Sony (http://www.scea.sony.com/)
- Electronic Arts (http://gamesupport.ea.com/)

(These sites run PHP on Microsoft IIS, not Apache, but it's still a
good example of how PHP is now regarded as a mature and stable
language on the Windows platform. PHP support is better in Apache than
in ISS).

The article can be read in full at
http://news.netcraft.com/archives/2003/08/30/php_growing_surprisingly_strongly_on_windows.html.

One site running a combination of Apache 1.3 and PHP 4.3 on Windows
(http://f4.freespace.jp/, a machine for a large japanese free hosting
service) managed an uptime of over 213 days at one point, which is
pretty good. You can see the uptime graphs at
http://uptime.netcraft.com/up/graph?site=f4.freespace.jp

Unfortunately, there do not seem to be any in-depth comparisons of PHP
running on both platforms.

Another indication of the reliability of the PHP/Apache/Windows
combination can possibly be found at the WebHostingTalk forums
(http://webhostingtalk.com/). Many of the people who post there are
representatives of experienced hosts, and I was unable to find any
negative comments about PHP on Windows.

As to the issues with PHP running thread-safe, the 'core' PHP module
doesn't seem to have had any problems since around version 4.1.0 (the
current version is 4.3.3). You may have problems with old PHP modules
that aren't thread-safe, but most recent modules should run with no
problems.

The only stability issues I could find with PHP are when it's being
run in conjunction with Apache 2. A note on the manual page at
http://www.php.net/manual/en/install.apache2.php warns that you should
not run PHP with Apache 2 on a production server. This is true for
both Windows and UNIX platforms.

The following pages may be of use to you:

Netcraft: PHP use growing on Windows -
http://news.netcraft.com/archives/2003/08/30/php_growing_surprisingly_strongly_on_windows.html

PHP.net: Apache/Windows information:
http://www.php.net/manual/en/install.apache.php#install.apache.windows

I used the following searches:

'php windows stability'
(://www.google.com/search?q=php+windows+stability&ie=UTF-8&oe=UTF-8)

'php windows apache stability'
(://www.google.com/search?q=php+windows+apache+stability&ie=UTF-8&oe=UTF-8)

'windows stability' (only on php.net)
(://www.google.com/search?q=windows+stability+site:php.net&ie=UTF-8&oe=UTF-8)

I hope this was of use. If you have any further queries about this,
please don't hesitate to request a clarification.

-- wildeeo-ga
Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy