Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Manuel_accu

    Manuel_accu Well-Known Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    166
    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,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hostvision

    hostvision Member

    Joined:
    Jul 22, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    151
    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...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Manuel_accu

    Manuel_accu Well-Known Member

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

    Thanks,

    Mitul S.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. hostvision

    hostvision Member

    Joined:
    Jul 22, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    151
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice