Fog Tweaks

From FOG Project
Revision as of 14:45, 11 December 2014 by Wolfbane8653.3362 (talk | contribs) (DB changes)
Jump to: navigation, search

Speed up DB queries

  • Use a Persistent DB Connection. This uses the already established connection to get the data, rather than reopening the socket or TCP link
  1. Open this file /var/www/fog/lib/fog/Config.class.php
  2. Go to line
    define('DATABASE_HOST',         'localhost');
  3. Change to:
    define('DATABASE_HOST',         'p:127.0.0.1');