im new here and quite nooby, so sorry if i sound dense. Im trying to install a small internal wiki.

I have inatslled ubuntu server with the default lamp packagaes, but when i put a php file in /var/www it just makes me download the file instead of processing it.

I dont need an elaborate explaination, just a short quick solution

alright thanks so much in advance

1 Answer 1


I think that there was an error during your install, you need to run:

aptitude install libapache2-mod-php5

and then run

sudo a2enmod php4

Hope that helps, RayQuang

  • The should probably be "sudo a2enmod php5", although as far as I know libapache2-mod-php5 is enabled on install by default. Jan 8, 2011 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.