5 ms·
> Warning This web server was designed to aid application development. It may also be useful for testing purposes or for application demonstrations that are run
by tardismechanic 6y ago
> Warning
This web server was designed to aid application development. It may also be useful for testing purposes or for application demonstrations that are run in controlled environments. It is not intended to be a full-featured web server. It should not be used on a public network.
- phre4k 6y agoWant to bet some people will integrate this into their "prod" Docker containers?
- ClikeX 6y agoI smell a Medium article coming up.
- akie 6y agoThis built-in server has been around since March 2012. If there are any Medium articles to be written, they're probably out there already.
- toxican 6y agoTitled "5 Reasons you don't need Apache/nginx anymore", filled with misinformation, and a comment section full of people ripping it apart. Or at least that's been my experience with Medium since I started using it a few months ago.
- deepstack 6y agoYup. With the way how php has being deploying over the last 20 years I wouldn't be surprised.
- frenchman99 6y agoThis web server has been available for a long time. Sure you can misuse pretty much any technology. Rolling your own crypto is possible too but most people don't do it. People tend to use ready-made Docker containers for PHP deployment. The official PHP image has apache and fpm versions: https://hub.docker.com/_/php/ https://hub.docker.com/_/php/
- bovermyer 6y agoMost of the enterprise world (which still accounts for far more code in production than startupland) doesn't use Docker. But they also don't use this web server. I don't think I've ever heard of anyone using this web server, actually, even for development.
- johnchristopher 6y agoI bet people won't. Ready-made docker solutions are based around nginx/apache and shared hosting stacks were in place long before php built-in webserver was available. There's no reasons and incentives to change all that.
- Mary-Jane 6y ago“A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.” ― Douglas Adams
- throwaway8941 6y agoIt's also pretty slow. I use it in development sometimes, and it easily blocks on a single long request. Works fine for development though, or if you want a quick and dirty solution to send a large file to a smartphone (or whatever).
- halfdan 6y agoLooks like that as of 7.4 it supports multiple workers for concurrent request handling.
- deweller 6y agoIt is also single threaded. One would see serious performance issues if one tried to use this in production with any significant traffic.