Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22430 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16424 invoked by uid 1010); 14 Mar 2006 21:21:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 16408 invoked from network); 14 Mar 2006 21:21:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Mar 2006 21:21:21 -0000 X-Host-Fingerprint: 80.35.80.143 143.Red-80-35-80.staticIP.rima-tde.net Received: from ([80.35.80.143:1985] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 21/69-55982-0D337144 for ; Tue, 14 Mar 2006 16:21:20 -0500 Message-ID: <21.69.55982.0D337144@pb1.pair.com> To: internals@lists.php.net Date: Tue, 14 Mar 2006 22:21:17 +0100 User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 References: <2fd662a00603141148n1f3c6aw@mail.gmail.com> <200603142158.25640.johannes@php.net> In-Reply-To: <200603142158.25640.johannes@php.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 80.35.80.143 Subject: Re: [PHP-DEV] PHP Embedded From: markright@gmail.com (Mark Evans) > 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