SYSTEM INFORMATION | |
---|---|
OS type and version | RHEL 7 |
Webmin version | 1.981-1 |
Virtualmin version | REQUIRED |
Related packages | 3:6.17.pro-3 |
Howdy – we’re behind a bit on versions, I know (sorry about that) but:
We recently installed PHP 8.1 and ran ‘virtualmin check-config’. Everything worked just fine – virtualhosts were update, user directories updated, and the server admin user can, using Virtualmin, choose to use the newly installed PHP 8.1 in their website. (that feature is enabled for them all).
BUT: the server admin user is not allowed to use the ‘Services’ > ‘PHP 8.1 Configuration’ page (which does appear like the others). The error displayed is " You are not allowed to manage this PHP configuration file" – this is the case for all server owners already created when PHP 8.1 was installed and the check script was run.
For new server owners, created afterward, the ‘PHP 8.1 Configuration’ page works as expected.
Looking around, I was able to find on the Webmin side of the house, under the properties for one of the server owners, in the ‘PHP Configuration’ module under ‘module access control’ that the other PHP ini files were listed, but not one for PHP 8.1. I suspect I could add it there and fix the issue, but don’t want to do that since Virtualmin controls those users, and there are 1000+ of them, so it’d be prohibitive anyway.
Do you know of a more automated way that I can use to add the permissions to all my server admin users so they can edit the PHP 8.1 Configuration after logging into Virtualmin?
They can edit the ~/etc/php81/php.ini file on disk, so there’s a work around.
Thanks! I’m happy to clarify anything I’ve mangled above, just let me know : )
~james