PHP-fpm not starting because socket files directory missing

SYSTEM INFORMATION B
OS type and version AlmaLinux 9.4
Webmin version 2.111
Virtualmin version 7.10.0
Related packages PHP-FPM

Hi

My php-fpm services cant start on a reboot because the socket file directory /run/php-fpm doesnt exist after a reboot.

I clean installed almalinux 9.4 with virtualmin
Then i removed php7 and added php 8.1 and 8.3

dnf -y remove php* rh-php*
. /etc/os-release && repo_dir=$([ "$ID" = "fedora" ] && echo "fedora" || echo "enterprise") && dnf -y install "https://rpms.remirepo.net/$repo_dir/remi-release-$(rpm -E %$ID).rpm" && dnf clean all
dnf install php81-php-{cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}
dnf install php83-php-{cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}

and added the PHP additions

for php in $(scl list-collections 2>/dev/null | grep 'php' | sed 's/$/-php/') php; do for ext in curl intl; do sudo dnf -y install "${php}-${ext}"; done; done

after a reboot PHP-FPM 8.1.28 Server and PHP-FPM 8.3.7 Server service do not start up because the socket file cant be created

ERROR: FPM initialization failed
ERROR: unable to bind listening socket for address '/run/php-fpm/145797322520902.sock': No such file or directory (2)

if i create the /run/php-fpm directory both of the services start fine, but after a reboot the directory is gone.

any help appreciated

worthy