Multi threaded socket based server - possible in php?

We have build a system that does more or less what you want. So, it is definitely possible to build a multi-process application in PHP.

We have build a system that does more or less what you want. So, it is definitely possible to build a multi-process application in PHP. It is however, not trivial.

If you fork off a child process, you need to very carefully manage your remote connections in order to avoid problems. (use the socket_* family of functions instead of fsockopen for better control) Also, Signals, tend to interrupt your normal program flow. This is off course normal, but PHP was not build with this in mind -> be prepared for some unexpected results.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions