The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

session_start() [function.session-start]: open(, O_RDWR) failed: Permission denied

Discussion in 'General Discussion' started by hostvision, Sep 21, 2006.

  1. hostvision

    hostvision Member

    Joined:
    Jul 22, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania
    Hello,

    I have 2 new server running with cpanel. One is PHP5.1.6 and one PHP4.4.4. An I get the same errors on both:

    What I find out is that once you start an session with one user (one website) and browse other website on the same server you get this error. The session php try to write is the same used for previous user and is own by previous user. Once you close the browser window and the session is destroyed the error is gone till browse other website on the same server.

    Thanks.
     
  2. Manuel_accu

    Manuel_accu Well-Known Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    what is the value of session.save_path in php.ini and set the correct permission in it.

    This setting controls the location of server-side session cookies when your script uses PHP's session management functions


    Thanks,
     
  3. hostvision

    hostvision Member

    Joined:
    Jul 22, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania
    Hi,

    I think is some kind of protection in apache. When I recive the error I used /~user/. I tried with domain name and everything is ok. Apache version is 1.3.37 on both servers.
    I'll monitor this issue for a while...
     
  4. Manuel_accu

    Manuel_accu Well-Known Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
    Hmmm might be... if any woraound, please share it !!!

    Thanks,

    Mitul S.
     
  5. hostvision

    hostvision Member

    Joined:
    Jul 22, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania
    Hi,

    For the moment I solved the problem. I think is from Imap Module (Version 2004g) or Openssl Support (less probable). I only got a good PHP without these modules.
    If someone find anything else please post it.
     

Share This Page