webserver - Client-Server PHP communication -


how php server pages handle multiple requests different users?

i used c-like languages , use multithreading. php use in case?

the php interpreter invoked webserver (like apache, lighthttpd, ...). webserver handles requests (by threading, forking or whatever). every instance of php running sequentially, there no builtin multithreading.

there exists pecl extension https://github.com/krakjoe/pthreads adds multithreading php.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -