Show
Ignore:
Timestamp:
02/09/12 11:03:28 (1 year ago)
Author:
p_lindheimer
Message:

try to set php session directory for CentOS, not really a FreePBX bug but we try to deal with it if possible re #5540 and various other tickets

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.10/amp_conf/bin/freepbx_engine

    r13259 r13405  
    252252  [ -e /dev/mISDN ] && chown -R $AMPDEVUSER:$AMPDEVGROUP /dev/mISDN 
    253253  [ -e /dev/dsp ] && chown -R $AMPDEVUSER:$AMPDEVGROUP /dev/dsp 
     254 
     255  # Ensure default php session directory is owned by asterisk web user since some yum updates break this 
     256  # this is the default CentOS location, may not work for other Linux distros 
     257  [ -d /var/lib/php/session ] && chown -R $AMPASTERISKWEBUSER:$AMPASTERISKWEBGROUP /var/lib/php/session 
    254258 
    255259  echo Permissions OK