Why don't PHP and Python need an application server like Tomcat like Java?

Why don"t PHP and Python need an application server like Tomcat like Java?

Jun.09,2022

previously, PHP could only use web server software like Apache and Nginx.

start the process through Apache httpd/Nginx/IIS. When accessing through URL, the user calls the cgi of php through the corresponding path to parse and return the result to the user.

Python can also use Nginx.

although it is now possible to use the code-start tcp service listening port to implement a web server, its stability, processing power, and adaptability are not as good as the dedicated web server above.


the difference between interpretive and compiled types. But this is not very comprehensive, but can cover most of it. If you really want to know more, it is recommended to take a look at Zhou Aimin's "Program original"

Menu