If you ever tried to setup a web server, you know that you will need a host OS, http server, a database to store data and webpages. Earlier PHP was used a server page. But nowdays Python is more popular due to its advantage (better error checking, object oriented, clearly understandable syntax). This writeup helps in installing the python based webserver.
LAMP is an acronym that traditionally stands for “Linux, Apache, MySQL, and PHP,” which is a common server configuration for a lot of web applications. However, for the purposes of this article, we’re going to upgrade slightly to “Linux, Apache, MySQL, and Python,” since we’ll be swapping out PHP for Python as our programming language of choice.
Please refer http://blog.udacity.com/2015/03/step-by-step-guide-install-lamp-linux-apache-mysql-python-ubuntu.html for installation instruction
http://blog.udacity.com/2015/03/step-by-step-guide-install-lamp-linux-apache-mysql-python-ubuntu.html
https://www.quora.com/Which-is-better-PHP-or-Python-Why
https://en.wikipedia.org/wiki/LAMP_(software_bundle)