# include/require b0rked in HEAD

- Thread: https://externals.io/message/6224
- Original archive: https://news-web.php.net/php.internals/6224
- Started by Sebastian Bergmann on 2003-12-05T09:28:00+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #6224 — Sebastian Bergmann — 2003-12-05T09:28:00+00:00

URL: https://externals.io/message/6224#6224

Even after Wez's fix yesterday the new TSRM code recently enabled by
  Andi causes phpMyAdmin to fail on Windows.

  phpMyAdmin/index.php has these require() calls:

    require('./libraries/grab_globals.lib.php');
    require('./libraries/common.lib.php');

  This results in

    Warning: main(./libraries/grab_globals.lib.php) [function.main]:
    failed to open stream:
    No error in C:\Server\htdocs\phpMyAdmin\index.php on line 9

    Fatal error: main() [function.require]:
    Failed opening required './libraries/grab_globals.lib.php'
    (include_path='.;c:\server\htdocs\pear\pear')
    in C:\Server\htdocs\phpMyAdmin\index.php on line 9

  Removing the './' from the start of the filepath makes the require()
  calls succeed.

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/
