So I came up against something really strange today.
I've updated my PHP APC to the latest version and restarted apache. And then suddenly all scripts in apache starting complaining about not being able to find required files.
I would usually have:
require_once 'Abstract.php'
considering that Abstract.php is on the same directory as the other script.
The errors where:
PHP Warning: require_once(Abstract.php) [function.require-once]: failed to open stream: No such file or directory in data.php on line 411 PHP Fatal error: require_once() [function.require]: Failed opening required 'Abstract.php' (include_path='/var/www/application/../library:/var/www/library:.:/usr/share/php:/usr/share/pear') in data.php on line 411
As you can see the current directory (.) is included in the include_path of the execution. Why did this happen? Has anyone seen it before?