For those who are awake!
Discount -15%
We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
New design
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

2.8.2.3. Error "open_basedir restriction in effect"

Error "open_basedir restriction in effect"Occurs when the script tries to access a file located in any of the directories at a level higher than that specified as the parameter value open_basedir.

To remedy the situation, one of the following conditions must be met:

  • Place the target file in a place accessible to the script. That is, in the directory specified as the value of the open parameter_basedir, or in any of its subdirectories.
  • Disable or change the value of the open parameter_basedir to the required directory so that the executable script has access to it.
  • Use command calling functions exec to work with such files. Open action_basedir does not apply to commands executed in the CLI. Note, this method is extremely insecure.