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"

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3f877-44839.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3f877-44839.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?