Apache and Nginx are web servers (or static resource servers) that deal with images, js, css, and html static web pages.
and tomcat is the server used to handle dynamic resources.
now there is a question:
for dealing with database additions, deletions, changes and queries, they are all dynamic, for example: PHP files need to perform database operations. Display the required data on the web page. Do you need tomcat to handle this? If you use Tomcat to handle it, when you deploy the project on linux, you don"t have a Tomcat server installed, and the website can run.
can someone explain it?