create a web server

Good morning,
I think it is quite simple or I hope it is.
I should create a web server accessible only from the school network (for now) for educational purposes. Students must practice with PHP, connect to MySQL databases etc., through web pages, or with phpmyadmin.
Could anyone help me?