Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice