1. Knowledge Base
  2. >
  3. Results
  4. >
  5. vBulletin Fix

vBulletin Fix

vBulletin has persistent connections turned on at all times. On our shared hosting, the forums may get very slow because of the 25 MySQL connection limit. This can even cause vBulletin to spit out errors like Too many MySQL connections. There's only one real way to fix this on shared servers since we can't raise the limit.

  1. Log in to your cPanel.
  2. In the Files section, click File Manager.
  3. Look for the config.php file. It will be inside the includes/ folder.
  4. Edit the file.
  5. Go down to where you see Master Database Connection.
  6. Add the following line of code:
$config['MasterServer']['usepconnect'] = 0;
  1. Save the file.
  2. Persistent connections have been turned off.
  3. You're done.