On Sun, 2011-07-24 at 00:03 +0200, Ferenc Kovacs wrote:
> >> On Sat, Jul 23, 2011 at 10:02 PM, IraQue IraQue <iraq...@live.com> wrote:
> >> >
> >> > Hi there PHP!
> >> >
> >> > I am developing a new web server, and i would like to make it possible
> >> > to include PHP in it.

As Ferenc said best is to use FastCGI by that you have the least
complexity and a clear separation.
If you really want to run it in one process you can build your own SAPI.
Besides the code in php-src/SAPI/ you can look out for Sara Golemon's
book "Extending and Embedding PHP" (978-0672327049) which is at the
state of PHP 5.2 but there are very few relevant changes, if at all.

> >> > However i am not that good at C, to figure out how to include it.

Good C knowledge, especially about daemon programming, would be a good
foundation for any work in that area.

johannes



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to