Select Page


open_basedir restriction in effect – How to resolve access restriction error in Odin Plesk Linux servers

Occasionally website owners report the error “Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/path/to/file) is not within the allowed path(s)” displayed for their websites in Odin Plesk servers.

It usually happens after installing an application or a site upgrade, and causes the website to crash with this error. (more…)

Disable PHP open_basedir protection in cPanel/WHM

PHP open_basedir directive is used to limit the files that can be opened by PHP to a specific directory-tree. What does that mean? With the open_basedir directive, you can tell the PHP scripts on a domain, which folders they have access to. Once specified, the PHP scripts will not be able to access files outside those folders.