[BlueOnyx:27174] Re: Open_base restrictions after migration

Michael Stauber mstauber at blueonyx.it
Sun Aug 11 16:17:36 -05 2024


Hi Colin,

> I have migrated from a 5209R to 5210R and some
> websites won't open because the error_log says
> open_base not within allowed paths.

It's usually sufficient to remove all entries form open_basedir in the 
Vsite PHP settings page ans save. That will re-add the normal defaults.

> I thought I would try setting Allow 'open_basedir'
> none to on, but that won't allow me either. 
> Toggle doesn't work.

That toggle will not work until you allow usage of it under "Server 
Settings" / "Security" / "PHP". On that page is a toggle that permits 
disabling open_basedir on Vsites.

As this was a move from 5209R to 5210R, you might also want to check 
config files of Wordpress installs and similar (anything that uses PHP), 
as the paths may no longer be the same:

It may have hardcoded paths like:

/home/.sites/162/site1/web

Whereas on 5210R/5211R it's now something like:

/home/.sites/site1/wwwroot/web

-- 
With best regards

Michael Stauber


More information about the Blueonyx mailing list