Re: bum include_path [SOLVED]
| From: | brian | Date: | Mon, 13 Nov 2006 05:38:34 +0000 |
| Subject: | Re: bum include_path [SOLVED] | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-17737@lists.php.net to get a copy of this message | ||
brian wrote:
I've just re-compiled 5.14 (to get mbstring support) and now my include path seems borked. phpinfo() shows:Of course, 10 minutes later, i notice the obvious. I'd wanted to move my php.ini to /etc as well, so included --with-config-file-path=/etc but neglected to copy the file over later. For the record, i do not believe this is the same thing that happened to me the earlier time (not that it matters, except for my ego). brianinclude_path .:/usr/local/php/lib/php# ls -l /usr/local/php/lib/php total 420drwxr-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.phpdrwxr-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.phpdrwxr-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 HTTPetc. 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?