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.

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:
    16
    what are the permissions of /home/profits/public_html/test/inc/config.inc.php
     
Loading...

Share This Page