Penso che quello che stai chiedendo sia il $_SERVER['DOCUMENT_ROOT]