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.

dba modlule not loaded although compiled

Discussion in 'General Discussion' started by dzallecomm, Oct 12, 2008.

  1. dzallecomm

    dzallecomm Member

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

    I added dba module through easyapache by editing the file

    /var/cpanel/easy/apache/rawopts/all_php5

    adding 2 lines:

    --enable-dba=shared
    --with-gdbm

    as instructed in http://www.cpanel.net/support/docs/ea/ea3/ea3custom_flags.html


    The reconfiguration was conpleted. The 2 flags were picked up, and shown in configure options in phpinfo output. The module dba.so was built, and correctly located in extension dir. In addition, a line

    extension="dba.so"

    was also added in php.ini

    However, the dba module is not listed in the phpinfo output, and the script with dba_open() function gets error:

    Fatal error: Call to undefined function dba_open() in ...


    My whm/cpanel is:

    WHM 11.23.2 cPanel 11.23.6-S27698


    Does any one have similar problem? or cpanel people could see this post and advise me what to do?

    Thanks


    David
     
  2. dzallecomm

    dzallecomm Member

    Joined:
    Feb 27, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    it's working. I found the problem: there is a private php.ini in the dir which doesn't include the extention.

    The module can also be loaded with dl() function.



    David
     
  3. desarrollo

    desarrollo Registered

    Joined:
    Sep 9, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Problem with dba.so

    Hello

    I have the same problem and i am not uderstand your solution.

    How did you make it work?
     
Loading...
Similar Threads - dba modlule loaded
  1. cPanelMichael
    Replies:
    0
    Views:
    380

Share This Page