Error PHP on centos 8.4 but not on 8.2

I install the latest Virtualmin on fresh centos 8.4 but when I install it without any error I see that PHP did not work and I see this error on phpinfo( ); and other PHP sites

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

but when I install on fresh centos 8.2 and then I update the centos I see PHP working without any problem. I want to know why this happens

I install it on centos 8.4 and Rocky Linux 8.4 and Almalinux 8.4 all of them PHP did not work
but on centos 8.2 and then update to 8.4 PHP works very well

You’ve got to show us the actual error from the error log. The browser has no useful information.

Dear Joe

Thanks for your reply
i get this error in apache error log

[proxy:error] [pid 17946:tid 140544172861184] (111)Connection refused: AH00957: FCGI: attempt to connect to (*) failed
[proxy_fcgi:error] [pid 17946:tid 140544172861184] [client] AH01079: failed to make connection to backend: localhost

When I Edit www.conf in /etc/php-fpm.d and add this lines

;listen = /run/php-fpm/www.sock
listen =
listen =

PHP on sites 1 and 2 works fine but I must add listen = manually to PHP works on site 3 . why this happen in fresh install centos 8.4 but did not happen in fresh centos 8.2

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