// Use this script to get the root(physical) path of your server.
// Just upload this file to the main directory and point your browser to 
// http://your_xoops_directory/rootpath.php

<?php
echo "Your root path is <b>".str_replace("\\","/",getcwd())."</b>";
?>