Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22425 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75552 invoked by uid 1010); 14 Mar 2006 19:48:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 75536 invoked from network); 14 Mar 2006 19:48:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Mar 2006 19:48:13 -0000 X-Host-Fingerprint: 64.233.162.203 zproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.162.203:57783] helo=zproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 7D/24-55982-CFD17144 for ; Tue, 14 Mar 2006 14:48:13 -0500 Received: by zproxy.gmail.com with SMTP id 18so1471575nzp for ; Tue, 14 Mar 2006 11:48:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=DEyE4sGgKSeIdLAoVaZc0zpdom0/FLYLRWLWiao8y+xni1syhCYnel0JQWbIfFFEoSQNlGIOpTIQLSgZzZPjnpHkccuNdhLp3xLqUUtuVm9ZKk3WtSYxRNwC61TQ8oqDvQjSXxqkSIxCYU4BN7i+WtFh4qIxP9AZ6XdbNY7nqvE= Received: by 10.36.97.5 with SMTP id u5mr5057799nzb; Tue, 14 Mar 2006 11:48:09 -0800 (PST) Received: by 10.36.46.15 with HTTP; Tue, 14 Mar 2006 11:48:09 -0800 (PST) Message-ID: <2fd662a00603141148n1f3c6aw@mail.gmail.com> Date: Tue, 14 Mar 2006 20:48:09 +0100 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15387_20179670.1142365689619" Subject: PHP Embedded From: markright@gmail.com (Marco) ------=_Part_15387_20179670.1142365689619 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi All The company I am doing some work for is currently using the php_embed to access the php engine from within a windows based c++ application. I have been asked a question that I dont know the answer to and all my googling attempts have failed. Is there a way from within the embedded system to destroy all created variables so that the environment is the same as when it was started or do we need to shutdown the embedded engine and start it up again? Also a problem they are coming up with occasionally is that the php engine will crash when php_embed_init(argc, argv PTSRMLS_CC); is called, they havent found any reproducible steps yet. Could this be caused by shutting down and starting up the emdedded engine from within the same app? I have asked and the application isnt multi threaded. Finally is there any examples of how to embed php in a windows app? I have done some googling and have found odd code snippets but if there is a detailed doc I could read I would be most grateful. Thanks in advance for any information provided. Regards Mark ------=_Part_15387_20179670.1142365689619--