I tried to install the phpMyAdmin package on a Debian Linux 6 server (via apt-get). When the package installed, it removed Apache and installed Apache2. Now, when I try to browse to .cgi and .sql pages on the web server (the files are located in /home/www/), the source code is displayed instead of being executed. What do I need to configure so that the code is executed instead of being displayed in the browser?
html files seem to work fine.