I've had it. I'm going nuts trying to figure this out and it's the gods-honest truth that I haven't changed anything on my computer....
Yesterday, including relative links WORKED.
Today, the same phpMyAdmin, same server, same everything gives the error
Warning: main(./libraries/grab_globals.lib.php) [function.main]: failed to create stream: No such file or directory in /[...]/web/phpadmin/index.php on line 8
Fatal error: main() [function.main]: Failed opening required './libraries/grab_globals.lib.php' (include_path='/usr/local/lib/php:./') in /[..]/web/phpadmin/index.php on line 8
Nothing has changed in php.ini - the include path is set, as it has always been, to
include_path = ".:/usr/local/lib/php"
The period is there to allow relative linking. It isn't a problem with phpmyadmin, since all my scripts fail if they use relative links. Hard-linked code works
WTF????
Server is Mac OS X 10.2.8 with PHP 4.3