Earlier quoted context omitted.
You can also do it in one golang file. Or one python file. Or one nodejs file. With PHP you have more moving parts, Apache/Nginx with their configuration and then the PHP script. With golang/rust/python/nodejs you have direct access to the webserver and more control, but the same simplicity.
>With PHP you have more moving parts, Apache/Nginx with their configuration and then the PHP script. With golang/rust/python/nodejs you have direct access to the webserver and more control, but the same simplicity. From my limited node experience I had to setup Nginx too and then connect it with node, and setup some manager like "pm" to keep the things running. When people say PHP is simple to setup they mean the cus…
Also PM is just a simple hypervisor, it doesn't have any logic, while Apache and Nginx do.