This is usually something before the main .php file gets requested.
Is there an auto-prepended .php file (see the auto_prepend_file setting) or is a php debugger being used?
If this only occurs for an ajax request, perhaps there's something in a .htaccess file or a local php.ini that's triggering the use of an auto_prepend_file setting for the filename.php that's mentioned in the second error.
Edit: was just able to reproduce this by entering a non-existent filename, abc.php, for the auto_prepend_file setting -
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required 'abc.php' (include_path='C:\xampp\php\PEAR') in Unknown on line 0