Multithreaded app server written in PHP
appserver.io
appserver.io
Very interesting project!
(1) Because Apache has had mod_php for ages, and there's FastCGI/FPM for everything else. If you already have something written in C that works out of the box, there's little incentive to write an alternative in a slower language. Besides, until recently, PHP has been woefully inadequate for writing daemons, with all those memory leaks and crappy error handling. Even nowadays, there's a lot of stigma against writing daemons in PHP (usually by people who still think in terms of PHP 5.2).
(2) Because the majority of PHP programmers are not interested in writing anything other than plain old PHP scripts accessed with a browser. This might be a result of the fact that almost everyone has standardized on either mod_php or FastCGI/FPM. When something is taken for granted for such a long time, you tend not to think about how the lower layers works at all. At least in some circles, it's not unusual to encounter "experienced" PHP programmers who are surprised to learn that they can run a PHP script from the CLI and keep it running for many days.
edit: Adding -webkit-text-stroke: 0.5px; to the body CSS helps.
But that is only one thing, because a application server, beside the web server (what is only one component and maybe will run behing a nginx that delivers static content like pictures, CSS or JS), provides you with additionally services like a message queue or a time service that will be very helpful in nearly any bigger PHP project.
A very interesting thing will be to combine appserver.io and HHVM to improve performance. If this will be possible, we think it will make the servlet container part of appserver.io for sure the fastest webserver available.
As the appserver.io is completely written in PHP it allows you and any other PHP developer to help fixing bugs or to improve it by adding new enhancements like HTTP 2.0 protocol in the future. With such a big community, like the PHP community is, we can be much faster to improve appserver.io than waiting for Apache or nginx to came up with new features. These are the main reasons why we think that PHP community should have their own application server for PHP written in pure PHP.