After the system update (for Windows 10 1709) started giving the following error in PHP execution:
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required 'D:\...\index.php' (include_path='C:\xampp\php\pear') in Unknown on line 0
This happens both if you use php Built-In ( php -S 0.0.0.0:80
) as if using the XAMPP apache service.
However, if you run the same project from the C: drive (the drive where XMPP is installed) the error does not occur.
Can anyone explain why this behavior?
Note: Note that the error is in the Unknown file on the 0 line ... that is, it is completely lost. Also note that the error did not occur before Windows refreshed. The error persisted even after reinstalling XAMPP