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

S

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?
 

elleryjh

Well-Known Member
Apr 12, 2003
479
0
166
what are the permissions of /home/profits/public_html/test/inc/config.inc.php