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

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

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

uitableview - Create and use custom prototype table cells in xamarin ios using storyboard -