• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Ubuntu 14 php session purging

Scheduled Pinned Locked Moved
FOG Problems
2
4
1.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    Joseph Hales Testers
    last edited by Sep 11, 2015, 2:00 PM

    In the wiki under https://wiki.fogproject.org/wiki/index.php/Fog_Tweaks is a section dealing with PHP Session Purging. When I checked my /etc/cron.d/php5 the line that was recomended for editing didn’t match what I expected instead of “09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null ; -delete” I have “09,39 * * * * root [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean” is there a change in how this is handled in ubuntu 14 I am running SVN 4602.

    RTFM

    1 Reply Last reply Reply Quote 0
    • J
      Junkhacker Developer
      last edited by Sep 11, 2015, 3:06 PM

      yes, this was a flaw in the way that Ubuntu 12.04 and i think 13.04 did it. it has changed for the better in 14.04, i believe.

      signature:
      Junkhacker
      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

      1 Reply Last reply Reply Quote 0
      • J
        Joseph Hales Testers
        last edited by Sep 11, 2015, 3:40 PM

        So leave as is or replace with the string from the wiki.

        RTFM

        1 Reply Last reply Reply Quote 0
        • J
          Junkhacker Developer
          last edited by Sep 11, 2015, 3:42 PM

          i would add a note that it’s only specific versions of Ubuntu

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            2/4
            Last post

          296

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project