aliasneo86 Posted November 1, 2008 Share Posted November 1, 2008 in the php script appliaction hot or not I get this error in the server Warning: ini_set() [function.ini-set]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/cache) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a4911443/public_html/libs/config.php on line 10 can anyone give me any guidance on this Thank you Quote Link to comment https://forums.phpfreaks.com/topic/130967-help/ Share on other sites More sharing options...
wildteen88 Posted November 1, 2008 Share Posted November 1, 2008 Your host has a setting called open_basedir enabled. This setting restricts you from accessing certain locations on the server. Currently you are only allowed to access the following locations: /home/ /usr/lib/php /tmp You cannot override this setting. What are you trying to do? Quote Link to comment https://forums.phpfreaks.com/topic/130967-help/#findComment-679925 Share on other sites More sharing options...
aliasneo86 Posted November 1, 2008 Author Share Posted November 1, 2008 Thanx for you reply I am tring to install the application called HOT OR NOT game but this error keeps coming what can I do about this ?? Thanx again for your reply Quote Link to comment https://forums.phpfreaks.com/topic/130967-help/#findComment-679931 Share on other sites More sharing options...
corbin Posted November 1, 2008 Share Posted November 1, 2008 Fix the file path to the cache file, and make it inside of one of the folders to which you have access. The error and wildteen's response are pretty self explanatory. Quote Link to comment https://forums.phpfreaks.com/topic/130967-help/#findComment-680181 Share on other sites More sharing options...
aliasneo86 Posted November 2, 2008 Author Share Posted November 2, 2008 if i upload the cache file to this dietination /home/a6450545/lib/php/ is it correct ??? /home/ /usr/lib/php /tmp I see only the public_html file in the ftp Quote Link to comment https://forums.phpfreaks.com/topic/130967-help/#findComment-680402 Share on other sites More sharing options...
corbin Posted November 2, 2008 Share Posted November 2, 2008 Yes /home/a.... should work. Quote Link to comment https://forums.phpfreaks.com/topic/130967-help/#findComment-680437 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.