Managing portal Timeouts

In Ubuntu the default PHP session timeouts are fairly small. 24min in some cases. To increase these timeouts we will need to increase PHP timeout on its "garbage collection" feature. This how to only applies to Ubuntu based installs, will effect both Admin portal (/SiPbx) and newer manager and user portals  (/portal)

  1. Edit /etc/php5/apache2/php.ini
    1. vi /etc/php5/apache2/php.ini
  2. Find the setting "session.gc_maxlifetime" and change the value to desired setting. 
    1. default is 1440 (seconds), which is 24 min
    2. recommended is 28800  (seconds), which is 8 hours
  3. Reload apache
    1. service apache2 reload
  4. Enjoy your longer sessions.