Setting-up apache & php

johney ulist at gs1.ubuntuforums.org
Wed Feb 23 11:11:31 UTC 2005


check the conf file: /etc/apache2/apache2.conf

in line 334 

#AddType application/x-httpd-php .php

the # has got to be removed to enable php likeso

AddType application/x-httpd-php .php


The other thing is the permissions of what you stick in /var/www
make a .php file as above  :grin: and make sure you are the owner 
:grin:


-- 
johney




More information about the ubuntu-users mailing list