try to figure out what the project root is (php slef can't do this well)