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!

recent php errors getting more frequent

Discussion in 'General Discussion' started by WebHostPro, Dec 16, 2003.

  1. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,654
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I have been getting several php errors for about a week, still on the old kernal but release for cpanel. The error are getting more and more frequent..

    Here is the error:

    Warning: Unknown(): open_basedir restriction in effect. File(/home/dwhsnet/public_html/helpdesk/hd.admin.php) is not within the allowed path(s): (/home/xxxxx:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

    Warning: Unknown(/home/xxxxx/public_html/helpdesk/hd.admin.php): failed to open stream: Operation not permitted in Unknown on line 0

    Warning: (null)(): Failed opening '/home/xxxxxx/public_html/helpdesk/hd.admin.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0

    I get in differant php scripts server wide.

    Any thoughts... please :]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
    I had the same problem when I had a few sites with open_basedir disabled. I solved it by putting the restrictions on every site on the server.
     
  3. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,654
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    Funny it was the domains that had the security bypassed on. I didn't even notice some had it bypassed.

    Once I took off the security it hasn't happened again.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
    Yeah, the ones that don't have it enabled will suffer. Therefore, all off or all on. I chose all on, because the permitted paths can be edited in httpd.conf.
     
  5. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Lewisville, Tx
    The ones with security bypassed were getting the errors on our servers also. We enabled the security on all sites and it seems to have gone away.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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