Steffen
Well-known member
I was wondering why I had about 2000 TCP connections in state TIME_WAIT after upgrading from vB4 to XenForo 2. The reason was that XenForo didn't use persistent database connections. Since XenForo uses the PHP extension MySQLi, you can enable persistent connections between PHP and your MySQL server by prepending
Example:
p:
to the hostname (http://php.net/manual/en/mysqli.construct.php). I think this should be documented. Example:
Code:
$config['db']['host'] = 'p:localhost';
Upvote
0