From: Reini U. <ru...@x-...> - 2005-04-18 18:01:19
|
Alan Hoyle schrieb: > Hi all, > > I've done a few searches for answers online, but the archives for > PHPWiki list at sourceforge appear to be down (along with the entire > search capability at sf.net).... > > Anyway, I was happily running PHPWiki 1.3.x on RedHat 9.0 for a long > time and finally got fed up with the lack of updates. So, I upgraded to > Fedora Core 3. I discovered that the default installation of PHP didn't > include GDBM support, so I installed the php-4.3.11-2.4.src.rpm, edited > the spec file to add the --with-gdbm and --enable-dba options, > recompiled, and reinstalled PHP. restarted Apache, and I'm now getting > the following error message: > > lib/DbaDatabase.php:54: Error[256]: > dba_open(/home/alanh/html/wiki/pages/pagedb.gdbm,c): Driver > initialization failed for handler: gdbm: File open error > file: /home/alanh/html/wiki/pages/pagedb.gdbm > mode: c > handler: gdbm > > I don't think this is a permissions problem: > > $ ls -l /home/alanh/html/wiki/pages/pagedb.gdbm > -rwxrwxrwx 1 apache apache 1024021 Apr 13 08:46 > /home/alanh/html/wiki/pages/pagedb.gdbm* > > Any suggestions as to what to try? Yes, see the current sozurce of lib/DbaDatabase.php what I had to do to workaround gdbm bugs. if "c" fails try "w" with the second try. Only Windows needs "-" -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ http://phpwiki.org/ |