It is not really suited for software which need to maintain long lived connections and that's the case with nextcloud when uploading or downloading large files.
In my experience developing with PHP that’s not true.
It supports Websockets perfectly. Maybe you're conflating the issue with Apache's default settings, Apache being often the choice to front PHP servers?
yeah that patchy server needs to be retired, but LAMP stacks just keep blowing back the air