[[https://httpd.apache.org/docs/2.4/howto/cgi.html| enable cgi php]]
====== install apache2 and php ======
apache install: sudo apt-get install apache2
python install: sudo apt-get install python
* enable the cgi module it'self
sudo a2enmod cgi
* enable cgi bin
Options ExecCGI
SetHandler cgi-script
Options +ExecCGI
AddHandler cgi-script .py
https://www.linux.com/blog/configuring-apache2-run-python-scripts
====== exmaple page ======
[[burim:web:cgi-bin:upload]]