Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

hi 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

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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

share|improve this answer
    
The should probably be "sudo a2enmod php5", although as far as I know libapache2-mod-php5 is enabled on install by default. –  Niall Donegan Jan 8 '11 at 12:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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