PHP and gdbm?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat Topics > PHP and gdbm?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    PHP and gdbm?  
Alan Hoyle


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-15-05 10:46 PM

Hey all,

I recently upgraded to FC3 and my PHPWiki stopped working since I was
using gdbm as my back-end database.  From looking online, I discovered
that php the default RPM of php had gdbm disabled.  I downloaded the
.src.rpm for PHP, edited the spec file to have "--with-gdbm" and
"--enable-dba" rebuilt and reinstalled the RPMs.

I'm running Apache 2.0.52-3.1 and my custom compiled version of
php-4.3.11-2.4 and I've installed the current 1.3.11 version of
PHPWiki.

I've restarted apache, and now I get the following error when I try to
bring up my wiki page:

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 it's a permissions problem as I've chmod'ed the file to
777 even...

$ 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*

Anyone have any hints/suggestions?

-alan

--
Alan Hoyle  -  alanh@unc.edu  -  http://www.alanhoyle.com/
"I don't want the world, I just want your half." -TMBG
Get Horizontal, Play Ultimate.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:07 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register