Re: asynchronous code execution using php in cgi mode
| From: | Ferenc Kovacs | Date: | Tue, 23 Mar 2010 06:55:33 +0000 |
| Subject: | Re: asynchronous code execution using php in cgi mode | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47473@lists.php.net to get a copy of this message | ||
you can use asyncronous file?/socket io with stream_select, with mysqlnd you
can create asyncronous queries.
you can fork process with pcnt_fork and send signals between process, or you
can use gearman to "outsource" your heavy weight functions to other
machines.
Tyrael
On Tue, Mar 23, 2010 at 7:09 AM, Bharat Nagwani <bnagwani@juniper.net>wrote:
> Hello,
>
> I have searched and haven't found a way to execute php in asynchronous
> mode. We are using php(5.2 on unix) in cgi mode.
> Is there a way to do this?
>
> Thanks much
>
>