Are you saying PHP creates a new process for each request?
In terms of memory management, PHP has both reference counting and garbage collection. Internally, an arena per request is used[0], so leaking memory over long periods of time is fairly rare and usually limited to native extensions.
[0]: https://www.phpinternalsbook.com/php7/memory_management/zend...
So for some definition of “process” it holds regardless - it’s just not always a real OS process.
They added GC at some point to allow scripts to run longer (eg for websocket servers) but even then last I checked you had to manually enable it.
It used to be a quite common approach in UNIX server programming.