Hey guys, I’m having a serious ‘permission’ problem i think. Just after changing hosts from Shared host to a VPS Server. I have tried to change permissions and some Apache setting but with no luck whatsoever, i have been stuck like this for almost a week now and searched high and low for a solution.
I’m currently running Vbulletin 4.2.1
Here are my error logs:
Tue May 19 19:18:44 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning: require(): open_basedir restriction in effect. File(/home/forum/public_html/forum.php) is not within the allowed path(s): (1) in /home/forum/public_html/index.php on line 43
[Tue May 19 19:18:44 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning: require(/home/forum/public_html/forum.php): failed to open stream: Operation not permitted in /home/forum/public_html/index.php on line 43
[Tue May 19 19:18:44 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Fatal error: require(): Failed opening required ‘forum.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /home/forum/public_html/index.php on line 43
But i have made the change before i asked for help…
open_basedir = Off is set. i even tried removing the whole php.ini file and rebooted the server but nothing changed/
If i navigate to eg: www.example.com/images i get the forbidden error? that made me think maybe this was a permissions problem?
Most recent log:
[Tue May 19 20:12:30 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning: require(/home/forum/public_html/forum.php): failed to open stream: Operation not permitted in /home/forum/public_html/index.php on line 43
[Tue May 19 20:12:30 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Fatal error: require(): Failed opening required ‘forum.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /home/forum/public_html/index.php on line 43