Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64370 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42250 invoked from network); 20 Dec 2012 03:29:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Dec 2012 03:29:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=xwisdom@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=xwisdom@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.54 as permitted sender) X-PHP-List-Original-Sender: xwisdom@gmail.com X-Host-Fingerprint: 209.85.214.54 mail-bk0-f54.google.com Received: from [209.85.214.54] ([209.85.214.54:53908] helo=mail-bk0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9D/F8-04341-90682D05 for ; Wed, 19 Dec 2012 22:29:14 -0500 Received: by mail-bk0-f54.google.com with SMTP id je9so1367625bkc.41 for ; Wed, 19 Dec 2012 19:29:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UIWZSiwyEfh5L9PMg/s8tyyUh0qXJIAZmYO7D0Evyyw=; b=rR5eH7yzkRKPhz/9Vu27shZA3Qx6npdKAyelJ102N75OisTPb/LXRif4xk5XpcpDoh cr/jdTrVm1uKfAjp4vmrR5XjKfXkf9hKlb7UGQE8ii6DBv4oRjYFcJkoNjoYdlPMHAIy Wnohj8p/2aNNJWUXMAoP6airwmb+Ri5HEV2nqbFc9OVTalkmXZSzPJWV7kMfOSazAljK kjvfA2CJfZOu8IpVb2FqtZxv8CCb3oOtfNvtEM31BNlG6nR49uHofiB8vn+qJGldEE90 wd8RRVFDv1YcPChzp/Cye4zys1ABDJeVoy8L8jelhWrRqc3JPJC44f/MqfnZoIxBhjR3 yldw== MIME-Version: 1.0 Received: by 10.205.129.17 with SMTP id hg17mr3799169bkc.41.1355974150899; Wed, 19 Dec 2012 19:29:10 -0800 (PST) Received: by 10.204.181.139 with HTTP; Wed, 19 Dec 2012 19:29:10 -0800 (PST) In-Reply-To: References: Date: Wed, 19 Dec 2012 22:29:10 -0500 Message-ID: To: Patrick ALLAERT Cc: PHP Internals Content-Type: multipart/alternative; boundary=001517447cee96c8ed04d14055d9 Subject: Re: [PHP-DEV] The built-in PHP web server is very cool! From: xwisdom@gmail.com (Raymond Irving) --001517447cee96c8ed04d14055d9 Content-Type: text/plain; charset=ISO-8859-1 Hi Patrick, Thanks for the feedback. I see your point and share some of your concerns. *> It also cannot handle more than one request at a time...* In my case a standalone web app will only be deployed on a single computer and will only be used by one user at a time, so concurrency should not be a problem. No other user will be able to access the application from the network. These are basically single user web-desktop applications. On Wed, Dec 19, 2012 at 12:33 PM, Patrick ALLAERT wrote: > 2012/12/19 Raymond Irving : > > Hi William, > > > > Why not? > > Thank you for the kind words Raymond (which should be addressed to > Moriyoshi Koizumi), but as mentioned on: > http://php.net/manual/en/features.commandline.webserver.php: > * It has never been created for anything else than development purpose > only. > * It also cannot handle more than one request at a time, meaning that > if your application has several assets (images, js files, css > files,...) all of them will be downloaded sequentially. Situation that > is even worse if you have more than one concurrent user. > * When it starts, it mentions: "Development Server started", please, > let me kindly emphasize the first word once more. > > Criticisms have been raised about including that feature to the core > of PHP for the exact reason that it might be used as a simpler > alternative to real web servers. To avoid that, some stress has been > put on documentation to insist on not using it for anything else than > development. > > There is also lot of programs bundling PHP, a web server and a > database server that are easy to use and configure. > Please, don't let room to bad practices which might end up damaging > PHP's reputation. > > @Moriyoshi: Maybe you have more arguments to add? > > Maybe we should list the reasons not to use it on anything else than > development on http://php.net/manual/en/features.commandline.webserver.php > ? > > Regards, > Patrick > --001517447cee96c8ed04d14055d9--