I am using XAMPP for developing my applications in PHP.
Many times I have found that a web application/site is using 2/3 different web servers like apache/nginx/varnish etc on live site using(info based on add-on, like wapplyzer) , I am just curious to know whether i can use these simultaneously on my local server as well.
Memcache is also somewhat that im trying to research now, will it can be also implemented at locals to check the functionality ?
Let me know how to configure it or where to apply changes if this is possible.
Not good with the system establishment part, so just excuse if something is out of line.
Varnish is not a web server, it is a web application accelerator. Wikipedia explains all…
As for running Apache and nginx on port 80, there are reasons why you might want to do this, but remember that both are full-fledged web servers in their own right.
Using nginx as the primary frontend webserver can increase performance even if you choose to keep Apache running on the system. One of nginx’s greatest advantages is how well it serves static content. It does so much more efficiently than Apache, and with very little cost to memory or processing. And so, it’s common to find nginx handling images and other static components while leaving the dynamic “heavy lifting” to Apache.
The only reason that one would want to do this on their dev server, would be in an effort to maintain as seamless an environment from their production instance as possible.
Here’s one article that explains the setup… there are many more if you use Google…
Setting up Nginx in front of Apache2 on Ubuntu Server