Login   Register  
PHP Classes
elePHPant
Icontem

Builtin-Webserver

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP Classes blog  >  PHP 7 Features and Re...  >  All threads  >  Builtin-Webserver  >  (Un) Subscribe thread alerts  
Subject:Builtin-Webserver
Summary:Webserver feature was dropped in HHVM
Messages:3
Author:Markus S.
Date:2014-08-04 07:33:33
Update:2014-08-04 19:57:35
 

  1. Builtin-Webserver   Reply   Report abuse  
Picture of Markus S.
Markus S.
2014-08-04 10:40:01
The builtin webserver feature which was bundled with HHVM was dropped a few months ago (IIRC with HHVM 3.0).

It seems like it is not worth to implement a webserver in a native way. HHVM is pushing FAST-CGI support instead since then.

The PHP group should prove the actual benefit of such a server before wasting the time to implement it. The HHVM team surely had reasons to do so.

  2. Re: Builtin-Webserver   Reply   Report abuse  
Picture of Manuel Lemos
Manuel Lemos
2014-08-04 11:01:35 - In reply to message 1 from Markus S.
Thanks for the clarification.

Anyway the point was not so much about being built-in but rather being multi-threaded, so all requests share the same memory pool and database connection pool.

  3. Re: Builtin-Webserver   Reply   Report abuse  
Picture of Daniele Cruciani
Daniele Cruciani
2014-08-04 19:57:35 - In reply to message 2 from Manuel Lemos
with event loop a builtin webserver could be writen using socket listen loop, manage priority ... something that could be of general use too and arranged differently for other I/O. Someone discussed it?