PHP-fpm: safemode: only main domain control open_basedir

Version 1.46


With CustomBuild 2.0 and php-fpm, the feature: Admin Level -> PHP Safemode Config where a User has multiple domains, if any one of the domains has safe-mode disabled, it would be disabled for the entire User, thus all the domains in: /usr/local/directadmin/data/users/username/php/php-fpmXX.conf This change is such that only the main domain will actually control the open_basedir value. The interface will hide the checkboxes for non-default domains. The ON/OFF tags for open basedir for these non-default domains will be an href, which, if clicked, will filter to show only that Username, so the required checkbox can be easily found. Thread:

Interested to try DirectAdmin? Get a 30-day Free Trial!