bum include_path

From: Date: Mon, 13 Nov 2006 05:24:54 +0000
Subject: bum include_path
Groups: php.install 
Request: Send a blank email to php-install+get-17736@lists.php.net to get a copy of this message
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

« previous php.install (#17736) next »