Embed sapi is probably what you are looking for.
On 10-Oct-06, at 2:03 PM, Dirk wrote:
> Hi!
> I didn't find a better place to ask...
>
> I would like to know what I'd have to do to link a small server
> written
> in C against a _shared_(!) libphp(!)...
>
> I had a look at php-cli and mod_php but both seem to link everything
> static which isn't what I want... I also had a look at the options of
> the configure script...
>
> ..but ended up subscribing here...
>
>
> How do I compile the whole php engine as a shared lib? It must work
> somehow... Why else would there be something like php-config?
>
>
> Please, somebody, lemme know what todo/read...
>
> Thanks,
> Dirk
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Ilia Alshanetsky