where is DocumentRoot ?

hi,

I would like to run a php file on my server (ubuntu) but there is not DocumentRoot line in apache2.conf and httpd.conf is empty. Should I add the line ?

How do I know where to upload my files ?

(I've installed phpmyadmin using apt-get, and it works.. I guess it is running from usr/share, but if I upload the file into that directory... it doesn't work.

thanks

Check in /etc/apache2/sites-enabled, there should be a file 000-default, wherein a DocumentRoot is defined. The default is /var/www I think.

thanks a lot