Just for learning and testing, I've installed these three different web servers, I've also installed mysql and php5.
I changed the DocumentRoot
for each to /var/www/apache
, /var/www/nginx
and /var/www/lighttpd
and works correctly. Of course I also assigned different ports to each.
I can visit the Server Home Page for the three of them.
So far, are there any specific settings I should do. Should I instally any package for making them work correctly with php and mysql?