Safest way to disable open_basedir

Hi,

I already remove the whole open_basesir line in the templates located in /usr/local/hestia/data/templates/web/php-fpm

Also created their own templates and named them differently.

It works actually and can be seen in the PHP selector of the domain.

However my customer reports that from time to time his websites gets down. And when I check, I had to change the PHP version and revert it back then save. Then it will be ok again. Probably happens once every quarter?

Im not sure if hestia auto updates or whatever.
But I just dont want this to happen again.

Is there anything I am missing?

Make sure is is named:

CUSTOM-PHP-x_y

version and it should work fine

1 Like