Press "Enter" to skip to content

Multi-process Applications in PHP CLI Mode

PHP is often a poor fit for a resident SHELL process. It has no dedicated GC routine, and no effective path to memory management. So if you use PHP as a resident SHELL, you'll often be unhappy when memory exhaustion aborts the process.
And if the incoming data is invalid while the SHELL doesn't check it, causing an abort, that will make you unhappy too.
So? What do we do?
Multiple processes....

Filed in English, PHP应用
with 0 Comment