Home > Errors / Problems > I get 'open_basedir restriction in effect, file is not within the allowed path' error

I get 'open_basedir restriction in effect, file is not within the allowed path' error

If you get 'open_basedir restriction in effect, file is not within the allowed path' or similar error message, please make sure your script is trying to access files from YOUR home directory (which is /home/yourusername/*) You are not allowed to access files from directories outside your account. If you are trying to access any special module like ImageMagick, please give us the full path to your script and we will disable this protection for your script.