Answer the question
In order to leave comments, you need to log in
What programming language works without explicitly starting a process?
Good evening.
I worked with PHP, in order for the site to work, it is enough to install Nginx / PHP and that's it. index.php
threw in the root and the site works.
All other Python, Node languages need to explicitly start the process index.py/js
and only then the site works.
I don’t understand something, are there any languages similar to PHP that work out of the box and don’t need to be monitored when the server kills their process and the site needs to be restarted?
Answer the question
In order to leave comments, you need to log in
No
It's not enough just to install php - you need to configure fpm
Also, just throw it in the root - they don't do it
But in everything else:
nginx communicates with the process (uWSGI, ...) that starts the scripts:
with php, python - through wsgi, with node - via standalone, wsgi
But it doesn't start magically, but after setup
Learn how to do a normal deployment
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question