PHP SAPI module help
| From: | Tigran Bayburtsyan | Date: | Tue, 18 Nov 2014 14:08:03 +0000 |
| Subject: | PHP SAPI module help | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-78943@lists.php.net to get a copy of this message | ||
Hi I found this email in PHP.net as a contact address for Web masters.
My question is about PHP SAPI C/C++ development.
I’ve successfully attached PHP to my C/C++ application as a SAPI module
with libphp.so , and it’s working now , but I have a problem with multiple
tasks in my application.
I need to execute PHP code in some thread of my application and continue
excecution in another. Is is possible to somehow get all global PHP core
hashtables from first thread and restore PHP from that point in another
thread using that hashtables with all generated variables and functions ?
Please provide some information about how this could be possible.
Thanks.