Open_basedir wrong

Hi guys please help, I’ll check forum and no see - How to correctly Disabling the open_basedir function in the HestiaCP latest versionHi guys please help, I’ll check forum and no see - How to correctly Disabling the open_basedir function in the HestiaCP latest version

domain: https://salerainbow.com
username: salerainbow
for PHP version 8.4

We need more context. Which software is telling you that?

Surely it wants open_basedir set in a specific way, that you can set using a custom template for the PHP version you need (by copying a current one, like PHP8.4 template, and modifying it, following the create template instructions explained in the hestiacp documentation Web Templates and FastCGI/Proxy Cache | Hestia Control Panel and assigning it to your web domain).

open_basedir is a setting, not a function that you can disable.

you mean:

  1. sed -i ‘s/php_admin_value[open_basedir]/;php_admin_value[open_basedir]/g’ /usr/local/hestia/data/templates/web/php-fpm/PHP-8_4.tpl
  2. v-change-web-domain-backend-tpl rainbrow salerainbrow.com PHP-8_4

Your commands looks correct, but in wrong template, because it is a default template and can be overwritted by HestiaCP updates.

As I said before, you should read and follow the instructions in Web Templates and FastCGI/Proxy Cache | Hestia Control Panel to create a custom PHP-FPM template. Later, once created, apply it to your desired domain.