Kristian Lampen wrote: > Hello, > > I have a fresh install of apache2 and php on my server and I can not > get php to work, php-scripts are not executed by apache, just the > plain script is served to the browser. >
By default, in /etc/apache2/mods-available/php5.conf the required directives to have Apache serve PHP as you would expect are commented out. You need to uncomment them and restart Apache. I think they're quite clearly commented. -- Avi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120104151625.78c135b3@amazing