I have read several things about this type of error (Minimum required PHP version is 8.0.0.), but none really gave an answer, for what I searched.
I had this problem and I solved it by uninstalling Zabbix and reinstalling it but after a while it appeared. When I go to read the problem on the php8.4 start, the problem is the following: "ERROR: Another FPM instance seems to already listen on /var/run/php/zabbix.sock". I tried to delete this file and Zabbix worked for a certain amount of time until it decided not to work anymore and always gave me the same problem.
What is the definitive solution?
P.S.: on the Zabbix web config I changed the Sock to use php8.4-fpm. It works but in the dashboard several errors appear
Here /etc/zabbix/nginx.conf
I had this problem and I solved it by uninstalling Zabbix and reinstalling it but after a while it appeared. When I go to read the problem on the php8.4 start, the problem is the following: "ERROR: Another FPM instance seems to already listen on /var/run/php/zabbix.sock". I tried to delete this file and Zabbix worked for a certain amount of time until it decided not to work anymore and always gave me the same problem.
What is the definitive solution?
P.S.: on the Zabbix web config I changed the Sock to use php8.4-fpm. It works but in the dashboard several errors appear
Here /etc/zabbix/nginx.conf
Code:
location ~ [^/]\.php(/|$) {
fastcgi_pass unix:/var/run/php/zabbix.sock;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
fastcgi_param DOCUMENT_ROOT /usr/share/zabbix;
fastcgi_param SCRIPT_FILENAME /usr/share/zabbix$fastcgi_script_name;
fastcgi_param PATH_TRANSLATED /usr/share/zabbix$fastcgi_script_name;
include fastcgi_params;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_intercept_errors on;
fastcgi_ignore_client_abort off;
fastcgi_connect_timeout 60;
fastcgi_send_timeout 180;
fastcgi_read_timeout 180;
fastcgi_buffer_size 128k;
fastcgi_buffers 4 256k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
}