Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72699 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59535 invoked from network); 20 Feb 2014 08:44:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2014 08:44:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=tigran.bayburtsyan@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tigran.bayburtsyan@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.176 as permitted sender) X-PHP-List-Original-Sender: tigran.bayburtsyan@gmail.com X-Host-Fingerprint: 209.85.217.176 mail-lb0-f176.google.com Received: from [209.85.217.176] ([209.85.217.176:57831] helo=mail-lb0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BB/41-50585-080C5035 for ; Thu, 20 Feb 2014 03:44:49 -0500 Received: by mail-lb0-f176.google.com with SMTP id w7so1101576lbi.35 for ; Thu, 20 Feb 2014 00:44:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=30SNdnVfW7SY3nUdo6m6qF74tAza/rWVsVhxX5MjDOk=; b=T8zR6YSXFIfbsXPnody5JMEWM/d1aijrYsR8Rr683jOjPDDysv8Ai2KPkNbB5pCrLq vDXzRbmjN33tZSVTey8T2wm00RX+XWIEKLxD4io1oTcPnGghiBQLAPVBi03PRw1hxbbK 8p6lyVRv029/6XR+aXJqt4bdUjqTbAqYn9lehMctbhjPAemPzMAghdwA72j6Vs669W3Z lsWysoCDRKvo2H1DcrMGmXw6wiGM/TibRG1eUG6o8GTs56Qi4mNCBZFW6c7zVmzlpsGc HNh5OB7MyBDioqIsPW24lXxoV/BHRhXeGzg+5sV5D0nEylw0Nk+QXtvOS32X7gJS880O TGqg== MIME-Version: 1.0 X-Received: by 10.112.169.42 with SMTP id ab10mr307378lbc.87.1392885885327; Thu, 20 Feb 2014 00:44:45 -0800 (PST) Received: by 10.112.131.132 with HTTP; Thu, 20 Feb 2014 00:44:45 -0800 (PST) Date: Thu, 20 Feb 2014 12:44:45 +0400 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=001a11c38a9c685fac04f2d28425 Subject: PHP SAPI Embeded Backup problem From: tigran.bayburtsyan@gmail.com (Tigran Bayburtsyan) --001a11c38a9c685fac04f2d28425 Content-Type: text/plain; charset=ISO-8859-1 Hello. I'm creating linux based C project and I need PHP Embeded interpreter , and I've included it successfully , but now I need to run 2 parts of one PHP script in 2 different threads. Example: part1: part2: part2 script will run many times , but part1 will run only one time. I think I need something like backing up PHP interpreter state after part1 script execution and restoring it before part2 script execution. Is it possible with PHP SAPI ? Or what part of PHP source I need to edit for making something like this. Thanks. --001a11c38a9c685fac04f2d28425--