SYSTEM INFORMATION | |
---|---|
OS type and version | Linux Debian 12 |
Virtualmin version | 7.20.2 |
Hello again everyone !
Another day, another question for you !
I have a brand new site that was setup on its virtual server in Virtualmin.
Since I solved yesterday my PHP > MariaDB connection issue, the website I’ve put there seem to work properly.
But after a while, it goes down with a 503 Service Unavailable.
From what I could gather in logs and stuff I can see this in the error_log of the virtual server :
[Fri Nov 29 12:05:50.517907 2024] [proxy:error] [pid 2053341:tid 2053413] (13)Permission denied: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/1732529291741853.sock (127.0.0.1:8000) failed
[Fri Nov 29 12:05:50.517942 2024] [proxy_fcgi:error] [pid 2053341:tid 2053413] [client 10.0.0.3:33300] AH01079: failed to make connection to backend: 127.0.0.1
Php_log shows a fatal error somewhere, but keeps logging afterwards so I’m doubting this is the cause :
[29-Nov-2024 11:26:29 Europe/Paris] PHP Fatal error: Uncaught Error: Undefined constant “_entretien” in /home/myusr/public_html/folder/1file.php:50
Stack trace:
#0 /home/myusr/public_html/folder/somephp.php(61): include()
#1 {main}
Restarting PHP-FPM service seems to temporarily solve this, but it goes down again after a while.
Currently trying what switching to FCGI does, waiting to see if it gets down again.
Any ideas on what else I could check ? As it seems PHP-FPM is more performant, I would like to be able to use it.
Thanks !