Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is php capable of multithreading?

Status
Not open for further replies.

GroundZero

Programmer
Feb 1, 2001
28
CA
can anyone tell me if it is possible for php to be a multithreading server for socket connection.

if it is can you refer me a tutorial or an example

thank you in advance;

regards,

GroundZero Your soul is imperfect
Life is difficult...

Now guess why we're here
 
I think any multithreading capabilities would have to be inherent in the webserver itself. Apache 1.X is not multithreaded, but Apache 2.0 beta is. I believe Netscape and IIS are multithreaded, as long as you set up PHP with NSAPI (netscape) or ISAPI (Microsoft) -- in other words, not the CGI version.

When you say you want PHP to be a multithreading server for socket communication, what will you be doing with it?
 
I tought socket connection had almost nothing to do with browsers. if possible could you give me an example of how it's done?

And I am making a game engine.

thank you in advance

regards,

GroundZero Your soul is imperfect
Life is difficult...

Now guess why we're here
 
When I say "NSAPI (netscape) or ISAPI (Microsoft) ..." I'm talking about the Netscape webserver suite or the Microsoft IIS webserver-- not the Netscape or Microsoft browsers.

Of course it could have something to do with the browser if you are using Java to run socket communications from the client to the server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top