Issues with open_basedir

Discussion in 'Installation/Configuration' started by chrisale, Feb 16, 2024.

  1. chrisale

    chrisale Member

    Hi all,
    I've seen a few threads where issues with open_basedir have been dealt with. I am also having some issues here as you can see in the attached screenshot. Wordpress is complaining about not having access to the required directory even though that directory is definitely specified in the open_basedir value.
    Short of turning off open_basedir completely (open_basedird = none) has anyone seen and dealt with this behaviour?
    Thanks
     

    Attached Files:

  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Weird. Which PHP version? Have you altered the open_basedir value?
     
  3. chrisale

    chrisale Member

    https://alberniweather.ca/info.php will show you the settings. It's 8.3.3.
    This occurs with the default settings from ISPConfig, I've tried a lot of permutations at this point to no avail.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to set open_basedir to the word 'none' to disable it and test if it works then.
     
  5. chrisale

    chrisale Member

    It took me a few tries to convince ISPConfig to set it to none... "none" in the open_basedir input field or in the PHP directive box would not work.

    The setting that worked, in the open_basedir input field, was simply "".
    That clears the directive in the phpinfo() output and ends those errors. I guess the question is whether there is any setting there that would work to be able to add that restriction.
     

Share This Page