PHP-FPM configuration error found : No listen directive found in FPM config

Hello,

In case it helps to find the cause, wanted to add that the same thing happened to my sites running Webmin version 2.303
Usermin version 2.203
Virtualmin version 7.30.8
Ubuntu Linux 22.04.5

For some older sites php 7.4 is still needed, and the rest use php 8.4.6

After the most recent php updates, all the sites reverted to php 7.4.

The ones that had already been set to php 7.4 didn’t display any error in the php config, but all those that were previously on 8.4 showed “PHP-FPM configuration error found : No listen directive found in FPM config”

Setting them back to 8.4.6 one by one fixed the error.

1 Like

Same here, noticed this months ago.

there is a config file : /etc/webmin/virtual-server/domains/

When I change the “php_fpm_version=” value to the correct one the error message is no longer seen in PHP Options. (and the correct values are shown again)

But in PHP-FPM Configuration it show the incorrect version in at the top (where it shows which fpm/pool.d/.conf file path.

When I click on Save in PHP Options that path will get updated to the correct version.

How does virtualmin determine or keep track of these versions?

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