1
toddherrold
Can someone tell me how to tell if my XOOPS install closes the database connections automatically?

I know that XOOPS is supposed to automatically close database connections, but I think I remember that during a recent re-install I was asked whether I wanted it to be permanently open, and I think I might have selected "yes."

I've been having a lot of problems with exceeding my "max_questions" limit of 50,000 per hour to the database resulting in blank pages until it resets and I wonder whether this could be the problem. My webhost told me that my script is not closing the database connection, but I can't figure out how to tell if it is or isn't. . .

Is this something that would be in "configure.php?"

Thanks.

2
Dave_L
Re: Can someone tell me how to tell if my XOOPS install closes the database connections automaticall
  • 2005/4/15 2:35

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


mainfile.php

// Use persistent connection? (Yes=1 No=0)
// Default is 'Yes'. Choose 'Yes' if you are unsure.
define('XOOPS_DB_PCONNECT'0);


Make sure that the value of XOOPS_DB_PCONNECT is 0.

3
toddherrold
Re: Can someone tell me how to tell if my XOOPS install closes the database connections automaticall

Thanks!

Login

Who's Online

147 user(s) are online (59 user(s) are browsing Support Forums)


Members: 0


Guests: 147


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits