Here one can't say much without any details (_relevant_ code and backtrace)
php_embed_* are afaik wrapping up the complete engine und request init and
shutdown. If you want to do multiple independent requests you should take an
a bit closer look on the SAPI layer to use the functions I mentioned above.
I thought that would be the case, thanks for the info provided, I will
pass that on to our c++ guys.
There are quite a few "embedding PHP in an application"-examples in
php-src/sapi. If you don't like reading that code wait some weeks and you
might get Sara Golemon's not yet released book (ISBN: 067232704X) about
"Extending and Embedding PHP" if that's to late you might want to fetch
George Schlossnagle's (ISBN: 0672325616) which is anyways a good read about
"Advanced PHP Programming" and has a few chapters about PHP internals like
the SAPI layer.
Thanks, those books sound interesting, I guess I will buy both since you
can never have enough reference material IMO.
Thanks for your time.
Regards
Mark
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php