Help with PHPLive

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ray
    Junior Member
    • Mar 2004
    • 19

    #1

    Help with PHPLive

    We use phplive... http://www.phplivesupport.com/
    It is a chat program... that was working fine.
    An application of ours which has been working fine for some time now
    recently began logging us out after 10-20 number of minutes. The application
    relies heavily on sessioning. At first we thought it was due to a version
    upgrade. After rolling back to the previous version, it was discovered the
    exact same problem still exists.

    This appears to be a PHP sessioning timeout issue.
    Anyone else using this program?

    Any tips or ideas on how to fix this?
  • james
    Senior Member
    • Mar 2004
    • 183

    #2
    I'm getting exactly the same problem - very annoying indeed.

    Does anyone know a solution?

    James

    Comment

    • brett
      Member
      • Mar 2004
      • 45

      #3
      Isn't this related to Dathorn having the /tmp directory getting wiped every couple of hours? There has got to be another way... I could be wrong.

      Comment

      • ray
        Junior Member
        • Mar 2004
        • 19

        #4
        Yes it is

        You are right, it is related to the temp / sessions being wiped every 2 hours... we found a way around it by putting the php.ini folder in a different place in our account.

        Comment

        • -Oz-
          Senior Member
          • Mar 2004
          • 545

          #5
          Ray, you should post the soultion so that james can fix his issues.
          Dan Blomberg

          Comment

          • sdjl
            Senior Member
            • Mar 2004
            • 502

            #6
            I believe the solution was to put the following in a php.ini file:

            session.save_path = /home/username/tmp

            Obviously tmp needs to be created.

            Taken from this post: http://forums.dathorn.com/showthread.php?t=169

            David
            -----
            Do you fear the obsolescence of the metanarrative apparatus of legitimation?

            Comment

            • ray
              Junior Member
              • Mar 2004
              • 19

              #7
              sdjl is right: the solution is to make a custom php.ini file. You can run "rpm -qa | grep php" to see what version of php the server you're on uses. Then go to www.php.net and get the source for that version, and use the php.ini-recommended as a starting point. You then can define the session tmp path, and all should be well. The thing that sucks about this as a solution though is the php.ini must be placed in *every* folder that contains php script. If it's only in one place, you get crossed between the server's php.ini and yours.

              Comment

              Working...