2012/12/19 Raymond Irving <xwis...@gmail.com>:
> 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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to