Answer the question
In order to leave comments, you need to log in
How does php and node.js run?
I noticed when creating a chat on different stacks that the php script is launched every time it is accessed, at the same time, node.js is launched once and does not turn off when accessed, that is, in a php script, you cannot store an online chat server in memory, in node .js is possible. Is creating a new execution instance on the server called CGI (php script for example)? What is the name of the node.js principle (run once and refer to it infinite times) then?
What then server-side languages execute the principle of launch like php and node.js?
And is it possible to run a php script once, like node.js and access it, so that the script spins on the server and does not turn off?
Answer the question
In order to leave comments, you need to log in
php script is run every time it is accessedthis is the classic mode of using puff.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question