Category : fpm

Получаю ошибку: 2021/04/19 14:35:19 [error] 989835#989835: *11021 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "POST /registryservice/registry/277/records HTTP/1.1", upstream: "fastcgi://10.10.50.6:9010", host: "127.0.0.1" Конфиг php-fpm: pm=dynamic pm.max_children=50 Конфиг location: location /service {proxy_http_version 1.1; proxy_set_header Connection “”; proxy_temp_file_write_size 64k; proxy_connect_timeout 10080s; proxy_send_timeout 10080; proxy_read_timeout 10080; proxy_buffer_size 64k; ..

Read more

I am currently trying to figure out some details about a php-fpm-status which status-page looks like this (when activated): pool: login process manager: dynamic start time: 18/Mar/2021:14:34:01 +0100 start since: 165566 accepted conn: 1651 listen queue: 0 max listen queue: 0 listen queue len: 0 idle processes: 2 active processes: 1 total processes: 3 max ..

Read more

I’m getting this error while trying to access a simple phpinfo script (any php). The Apache is not able to connect to the socket file of php-fpm service (Event type module enabled) saying that the file does not exists, but it does exists and has the right permission (apparently). I found some similar questions saying ..

Read more

I’m running Nginx with PHP-FPM with a very common configuration, nothing special: location / { try_files $uri @fpm; } location @fpm { fastcgi_split_path_info ^(.+.php)(/.*)$; include fastcgi_params; fastcgi_pass fpm:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /var/www/html/app/public/index.php; fastcgi_param SCRIPT_NAME index.php; fastcgi_param APPLICATION_ENV dev; } I found that if PHP script crashes unexpectedly without returning any response or when I ..

Read more

how can I disable http request header with PHP-FPM 7.4 content-encoding: gzip I tried with putenv() but it’s just adding a new entry but not overriding //$_SERVER[‘HTTP_ACCEPT_ENCODING’] ="identity"; header("Content-Encoding: identity"); putenv(‘no-gzip=1’); ini_set(‘zlib.output_compression’, ‘0’); ini_set(‘zlib.output_compression_level’, ‘-1’); . . . . . $length = ob_get_length(); header("Content-Length: $length"); session_write_close(); Sourc..

Read more