Page 1 of 1

Need help fixing installation of php script

Posted: Thu Jan 05, 2012 3:44 am
by hetfield_86
I am trying to install a php clone freelancer script on my site and I get the following message. Can someone help



1) error message: Warning: include() [function.include]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/includes/config.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in/home/a9053679/public_html/includes/common.php on line 76 2) line 76 of common.phpMy site is www.findmytradey.com

Re: Need help fixing installation of php script

Posted: Thu Jan 05, 2012 9:50 pm
by twinedev
Basically, the server you are on is configured so your scripts can only access certain directories, what you are trying to include is outside that list.
You are trying to include from:

/usr/local/apache/htdocs/ (global apache home dir most likely)
from a file in this path:
/home/a9053679 (your hosting accounts home directory most likely
Besides your own home directory, you can only access other specified directories:
/home/
/usr/lib/php
/tmp

So you need to change where the file you are trying to include is located.

-Greg