include "./test.php";
that looks for a file named test.php in the include directory specified in the php.ini file.
include "/test.php";
that looks for a file named test.php in the root directory.
if you are ever in doubt, just give the full pathname to the file in your include statement like this:
include "/home/user/inc/test.php";