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.

mmap cache

Discussion in 'General Discussion' started by Bashy, Oct 14, 2016.

  1. Bashy

    Bashy Well-Known Member

    Joined:
    Feb 20, 2011
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    Hi folks, just come across this error trying to get in to a page

    Code:
    [Fri Oct 14 14:12:54 2016] [error] [client  [Fri Oct 14 14:12:54 2016] [warn-ioncube] mmap cache can't open /home/-/public_html/status/includes/db.php - Permission denied (pid 23895)
    [Fri Oct 14 14:12:54 2016] [error] [client ] PHP Warning:  require(/home/-/public_html/status/includes/db.php): failed to open stream: Permission denied in /home/-/public_html/status/config.php on line 37
    Any ideas plese
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    317
    Likes Received:
    23
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The PHP error means either the permissions are wrong on your PHP file or the user and/or group ownerships are wrong on the file.
     
    Bashy likes this.
  3. Bashy

    Bashy Well-Known Member

    Joined:
    Feb 20, 2011
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    I have gone through the permissions, they seem ok, not sure how to go about the ownership though
    this seemed to occure after a restore
     
  4. Bashy

    Bashy Well-Known Member

    Joined:
    Feb 20, 2011
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    Finally found the owner issues and after much fun in SSH i have not sorted the issue and learnt a little about chown and using the
    error log etc only took all day but i got there with your help, thanks SysSachin
     
    cPanelMichael likes this.
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page