bum include_path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I've just re-compiled 5.14 (to get mbstring support) and now my include path seems borked.

phpinfo() shows:

include_path	.:/usr/local/php/lib/php

# ls -l /usr/local/php/lib/php
total 420
drwxr-xr-x   2 root  root    4096 Aug 14 13:18 Archive
drwxr-xr-x   2 root  root    4096 Nov 13 00:14 build
drwxr-xr-x   4 root  root    4096 Aug 14 13:42 Cache
-rw-r--r--   1 root  root   10926 Aug 14 13:42 Cache.php
drwxr-xr-x   2 root  root    4096 Aug 14 13:18 Console
drwxr-xr-x   7 root  root    4096 Aug 14 13:42 data
drwxr-xr-x   2 root  root    4096 Aug 14 13:42 DB
-rw-r--r--   1 root  root   38937 Aug 14 13:42 DB.php
drwxr-xr-x  17 root  root    4096 Oct  4 14:15 doc
drwxr-xr-x   3 root  root    4096 Nov 12 23:44 extensions
drwxr-xr-x   3 root  root    4096 Aug 14 13:42 HTTP
etc. etc.

Script error:
Warning: require_once(MDB2.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/elan/htdocs/includes/db/get_mdb2.php on line 9

Fatal error: require_once() [function.require]: Failed opening required 'MDB2.php' (include_path='.:/usr/local/php/lib/php') in /var/www/vhosts/elan/htdocs/includes/db/get_mdb2.php on line 9


MDB2 is among the etc. above. Any other page which requires any other PEAR package fails in the same way.

I'm almost certain this has happened to me once before but i can't think of what the problewm is here. Any ideas?

brian

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux