descriptionPHP webserver, using libev instead of SAPI
homepage URL
last changeTue, 19 Jun 2012 22:47:53 +0000 (20 00:47 +0200)
content tags
The PHP extension you have in front of you allows you to run a
webserver from inside your PHP application. This allows you to
run a standalone application as server, giving it all the benefits
of an easy to learn and write language plus secure deployment.

It is currently /in development/, this means that the code you
can find here is not ready for production yet, unless you are
able to debug it yourself and/or are willing to invest time
why things do not work as expected. A very tricky problem that
could be encountered is out of memory situations because of
garbage collector incidents.

This code has been written because of /extreme/ performance
improvements in comparison to standard SAPI clients like FastCGI
or mod_php.
We suggest you to use this code behind a reverse proxy such
as Varnish, haproxy or the Cherokee Webserver.

How to use;
rm aclocal.m4  # might be needed
autoreconf     # for gentoo
make install
add to your php.ini, see the examples
directory for the typical Hello World type of application.

The code requires libev to compile and run, and gets it's major
speed improvement from this great library.

1.) phpize
2.) ./configure
3.) make
4.) make install
5.) add to your php.ini, see the examples
    directory for the typical Hello World type of application.

We hope you find this extension useful and
you will create high performance web sites using it 

Stefan de Konink & Michael Maier, 2010-05-13

Information request
Dutch/English  -- Stefan (
German/English -- Michael (
2012-06-19 Michael MaierAdd REQUEST_BODYmaster
2010-11-21 Michael MaierExchange the Mongrel parser with the Mongrel2 parser...
2010-11-21 Stefan de KoninkMerge branch 'newparser'
2010-11-21 Stefan de KoninkThe fix to have everything binary related working.newparser
2010-05-13 Stefan de KoninkUpdate
2010-05-13 Stefan de KoninkGentoo solution
2010-05-13 rootMerge branch 'newparser' of git://
2010-05-13 root modified: LICENSE
2010-05-13 Stefan de KoninkForwarding change
2010-05-13 Stefan de KoninkMemoryleak
2010-05-13 Stefan de KoninkTo use it.
2010-05-13 Stefan de KoninkNew example.
2010-05-13 Stefan de KoninkIntegration of the code that implements the use of...
2010-05-13 Stefan de KoninkThis code implements (and expands) the new parser for...
2010-05-13 Stefan de KoninkSome pretty code fixes and memoryleak addressing.
2010-02-28 Stefan de KoninkTwo new examples by Michael
3 years ago master
5 years ago newparser
5 years ago pthread/wip