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!

Warning: main(inc/config.inc.php): failed to open stream: Permission denied in /home/

Discussion in 'General Discussion' started by Secret Agent, Jan 21, 2006.

  1. Secret Agent

    Secret Agent Guest

    Warning: main(inc/config.inc.php): failed to open stream: Permission denied in /home/profits/public_html/test/admin.php on line 30

    Warning: main(inc/config.inc.php): failed to open stream: Permission denied in /home/profits/public_html/test/admin.php on line 30

    Warning: main(): Failed opening 'inc/config.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/profits/public_html/test/admin.php on line 30

    Fatal error: Call to undefined function: db_open() in /home/profits/public_html/test/admin.php on line 34


    I turned off openbase_dir in WHM
    /etc/resolv.conf is fine
    chmod 1777 /tmp
    /scripts/securetmp
    Restareted Apache

    Error still there. Have I missed something else?
     
  2. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    166
    what are the permissions of /home/profits/public_html/test/inc/config.inc.php
     
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