Submitted by hvillemoes on Sat, 02/02/2019 - 11:07 Pro Licensee
Hi
I have installed rh-php72 from centos-sclo-sclo, and it works fine under VirtualMin.
I and users can select php7.2 and it works
But users are not allowed to edit php7.2 php.ini parameters, they get: "You are not allowed to manage this PHP configuration file"
They can edit php7,.0 and php5.... versions.
I being the admin can edit the php7.2 params.
I compared the file mode and ownership for php7.2/php.ini with php7.0/php.ini - they are equal.
Is there a config file in /etc/webmin or elsewhere, that needs editing?
Versions: CentOS Linux 7.6.1810, Webmin version 1.900
Status:
Active
Comments
Submitted by andreychek on Sat, 02/02/2019 - 12:32 Comment #1
Howdy -- thanks for contacting us!
What PHP Execution Mode is being used? If it's using PHP-FPM or mod_php, it wouldn't be possible to make edits to that file.
You can see that in Server Configuration -> Website Options.
Submitted by hvillemoes on Sun, 02/03/2019 - 02:42 Pro Licensee Comment #2
PHP script execution mode: FCGId (same as for php7.0, ... where users are allowed to change php.ini settings
Submitted by andreychek on Sun, 02/03/2019 - 09:01 Comment #3
Okay, thanks for the info!
One last question --
Are you saying that if you change the PHP version being used by that domain to PHP 7.0 (which can be done in in Server Configuration -> PHP versions), is your Virtual Server owner then able to edit it?
I know that's the case with other domains on your system, just verifying that's the case with this one.
Submitted by hvillemoes on Sun, 02/03/2019 - 09:08 Pro Licensee Comment #4
I have discoveret, that it is not a problem for all users but maybe only for one user with 2 sites. He (and I impersonating him) go to Services /PHP 7.0 Configuration and all is well. Then he (and I impersonating him) go to Services /PHP 7.2 Configuration and get "You are not allowed to manage this PHP configuration file". So I wander, what condition or configuration triggers that error message.
Submitted by hvillemoes on Sun, 02/03/2019 - 09:10 Pro Licensee Comment #5
It may only be a problem for users created before I added PHP 7.2 to the system, and not for users created after that.
Submitted by hvillemoes on Sun, 02/03/2019 - 09:11 Pro Licensee Comment #6
No that is not the case either - the problem exists for some, but not all users.
Submitted by JamieCameron on Sun, 02/03/2019 - 13:19 Comment #7
Did you only recently install PHP 7.2 on that system?
Submitted by hvillemoes on Sun, 02/03/2019 - 14:17 Pro Licensee Comment #8
Yes, shortly after it became available as an rh_scl package fram centos
Submitted by JamieCameron on Tue, 02/05/2019 - 00:19 Comment #9
You may need to select the user's top-level domain from the left menu, click on Edit Virtual Server, then click Save.
Submitted by hvillemoes on Tue, 02/05/2019 - 14:49 Pro Licensee Comment #10
Thanks Jamie, that fixed the problem. And thank you for always swift high-quality support for a great system. / Harald