Submitted by b1cata on Mon, 03/25/2019 - 07:09
Hello,
CentOS Linux release 7.6.1810 (Core) / wbm-virtual-server-6.06.gpl-2.noarch
When you want to disable a php variable using command line:
virtualmin modify-php-ini --domain somedomain.tld --ini-name open_basedir --no-ini-value
virtualmin modify httpd.conf like this: php_value open_basedir
and you have an error if you try to reload apache service.
Instead, it should be:
php_value open_basedir none
Everything it's ok if you modify /usr/libexec/webmin/virtual-server/modify-php-ini.pl like this:
elsif ($a eq "--no-ini-value") {
push(@ini_values, "none");
}
Regards, Catalin.
Status:
Active
Comments
Submitted by JamieCameron on Wed, 03/27/2019 - 00:17 Comment #1
Actually, shouldn't Virtualmin just be removing that
php_value open_basedir
line entirely in this case?