Menu

server wide configuration of Berkeley DB

Help
pootytang
2005-08-10
2013-05-15
  • pootytang

    pootytang - 2005-08-10

    I am trying to use berkeley DB with mod_cplusplus.  My question is where should I put the server wide configurations, specifically opening the database environment.  My initial idea was to use the post_config hook, but that doesn't seem to be implemented.

    Any help would be appreciated!
    Peter

     
    • John K. Sterling

      Hi -

      Could you do it in your module constructor?  That's loaded when the server is initialized.  In prefork there should be one per process.

      John

       
    • pootytang

      pootytang - 2005-08-10

      My coworker suggested that also.  duh!! Not sure why I didn't think of it...  I am tring to get that working now.  I am getting an error, but its a Berkeley DB error when I try to open the environment.

      Thanks so much for the quick response!

       
      • John K. Sterling

        No problem, let me know if you have more questions.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.