The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

enable dba of php

Discussion in 'General Discussion' started by dzallecomm, Dec 2, 2006.

  1. dzallecomm

    dzallecomm Member

    Joined:
    Feb 27, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I am trying to use dba function of php. Following a thread here, I added configuring varialbles
    --enable-dba=shared' '--with-gdbm
    in /home/cpapachebuild/buildapache/buildscript, and then execute the buildscript.

    Now, the phpinfo does show the configuration, and there is a full dir of dba generated under ext.. However, I still get error:

    Fatal error: Call to undefined function: dba_open()

    when calling the function wtih statement.

    $dbh = dba_open ( "phpgdbm.gdbm", "c", "gdbm");


    Could anyone helps me ?

    Thanks


    David
     
Loading...

Share This Page