I'm not sure if your version of PHP has this option, but if php is running as a cgi, there is a setting in php.ini that can be changed to make sure PATH_INFO returns a value:

cgi.fix_pathinfo =1