When packaging a ZF2 app into a single phar SplFileInfo::getRealPath returns false even though the isReadable and isFile both return true. By explicitly stating the path and file that we know are ok, the app continues to work whether it is in a phar or not.