Understanding Installations Better
Hi all, I'm going to keep this as short as possible but I need someone to just point me in the right direction only.
I installed Tomcat Webserver and Apache as I was told that Apache is very fast at serving static content (and I will have lots of images) while Tomcat is the application server. I also configured both of them to route 2 different domains and all is working perfectly. So far I have 2 folders in Tomcat/webapps, A and B and when I call www.A.com and www.B.com, Apache (running port 80) routes the request to Tomcat (running port 8080) and I can access the index.jsp files. So far so good...
Now I want to install Prestashop which is a PHP Application and Tomcat only supports JSP by default.
1. I know I need to install PHP, but I found a website saying that PHP in Tomcat is OLD and should not be used! What are my options?
2. The confusion is that Apache is the one who receives the requests and passes them to Tomcat. If Prestashop is in Tomcat, how will Apache serve the static content/images?
I feel like there is a missing step somewhere and I would be great-full if anyone would just explain this to me even in point form not to waste your time.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)