tags:

views:

458

answers:

4

I have a question about interprocess communication within PHP. What I want is to have one process to be continuously running, and to have other processes communicate with this one.Is this possible?

A: 

Take a look at proc_open. I have not used it extensively, but you should be able to accomplish this using this function.

jonstjohn
+3  A: 

A very useful and popular interprocess communication mechanism is known as Sockets. PHP's support for it is just fine.

chaos
A: 

Depending on what exactly your needs are, you might wanna take a look at something lile ActiveMQ

n3rd
+1  A: 

I can also recommend Sockets, but using the stream functions like stream_socket_server() etc.

Because these are more programmer-friendly than the "raw" socket functions

Bob Fanger