Hacker News new | ask | show | jobs
by phre4k 2119 days ago
Want to bet some people will integrate this into their "prod" Docker containers?
4 comments

I smell a Medium article coming up.
This built-in server has been around since March 2012. If there are any Medium articles to be written, they're probably out there already.
Titled "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.

I 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.
“A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.”

― Douglas Adams

This 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/

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

Yup. With the way how php has being deploying over the last 20 years I wouldn't be surprised.