PHP-FPM does not allow domain owners to edit php.ini

OS type and version Debian 11
Webmin version 1.994
Virtualmin version 7.1-1

I am using PHP-FPM on the server, with root access from virtualmin I can edit the PHP configuration, but the domain owner receives the following error “None of the PHP configuration files you have access to exist.”

I have PHP 7.4, 8.0 and 8.1 installed.

Recently using a test user I noticed that the php 7.4 configuration file can be edited by the domain owner, but the other configurations cannot…

As I said before with php 7.4 you can view and edit the configuration…

I also have another doubt, shouldn’t the php 7.4 configuration (/etc/php/7.4/fpm/pool.d/16565939554601.conf) be inside the domain directory?

@Jamie, I can confirm this issue. I cannot edit PHP-FPM config for any additional PHP version installed (i.g. PHP 8.1 on Ubuntu 20.04) disregard of limitations set in Administration Options ⇾ Edit Owner Limits page. Although, PHP-FPM config link for default PHP version 7.4 is always accessible, also disregard of imposed limitations.

I have run tests with the latest patches applied.


Little off topic maybe, but I see that you are on Debian 11. Did you use the Beta installer?

@Ilia is this an issue for PHP versions installed after the domain was created?

Both. I could reproduce with domains after and before creation. It shows the link but doesn’t let you edit it, even though Can edit PHP and website options is enabled, it’s still returns this error:

Hi I have same as Ilia, my setup Debian 11 and 3 days old installed on bare metal 3 days ago.

Can you post the contents of /etc/webmin/phpini/$USER.acl , where $USER is the domain’s login?

Hi @Jamie . Sorry for late reply, I was super busy with my work. Well I nuked server after few days, as I was not able to get my nut around to resolve this. It was testing mashine to see what’s new.

This issue is going to be fixed in Virtualmin 7.2.

Thanks for reporting this @andyalvarez .

So you confirm that with vers. 7.2 we can edit PHP.INI file for each website from the menu Virtualmin Area /Services / isn’t it?

Can you estimate how many times we need to wait to have this bug fixed?

Thank You

Sorry, we do not have ETA but we will try to release it as soon as possible.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.