Fog Tweaks

From FOG Project
Revision as of 14:41, 11 December 2014 by Wolfbane8653.3362 (talk | contribs) (Created page with "= DB changes= *Use a Persistent DB Connection: #Open this file /var/www/fog/lib/fog/Config.class.php #Go to line <pre>define('DATABASE_HOST', 'localhost');</pre> #Cha...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DB changes

  • Use a Persistent DB Connection:
  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');>
  • This creates a faster response from db queries.