Questions tagged [fpm]

FastCGI Process Manager - an alternative PHP FastCGI implementation with some additional features

PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

More information can be found on http://php-fpm.org.

503 questions
0
votes
1 answer

correct syntax for docker file alpine with --platform and php fpm-alpine

What is the correct syntax to add a PHP version in docker file? i have this syntax: FROM --platform=linux/x86-64 alpine:3.11 php:7.4-fpm-alpine WORKDIR /app ENV LC_ALL en_US.UTF-8 ENV LANG en_US.UTF-8 RUN apk --no-cache add tzdata && \ cp…
PinoyStackOverflower
  • 5,214
  • 18
  • 63
  • 126
0
votes
1 answer

Connection refused in Multi-container pod

Im trying to port a docker-compose configuration to kubernetes but i get "connection refused while connect to upstream ....upstream:fastcgi://127.0.0.1:9000" Containers up and running, service nginx load balancer acessible but mysql and php-fpm not…
Leonel Matias Domingos
  • 1,922
  • 5
  • 29
  • 53
0
votes
1 answer

Laravel + PHP 8 fpm SIGSEGV (signal 11)

Really strange thing happening on PHP 8 fpm (using anything Eloquent triggers it) and unable to debug the coredump (PHP 7.3 is ok) Environment is Debian 10 (Vagrant VM and also DO droplet) Vagrant php -v shows PHP 8.0.3 DO droplet php -v shows PHP…
Chris Go
  • 599
  • 6
  • 19
0
votes
0 answers

Nginx + PHP-FPM how to return 5xx status code if PHP crashed or debug stopped?

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…
user13316830
0
votes
1 answer

Can't run PHP-FPM using apache MPM

for very long time I'm trying to set up apache server on ubuntu with multiple hosts and somehow it just doesn't want to work for me. My general goal: Hosting multiple websites with apache and using chrooted php and ftp. For ftp it's not a problem…
yadbo
  • 407
  • 1
  • 5
  • 16
0
votes
1 answer

how to enable HTTP request header on Apache 2.4.46

how to enable HTTP request header on Apache 2.4.46 with PHP-FPM 7.4 I'm unable to read custom http header, which run on local with Apache + mode_php apache_request_headers(); is there any alternative or is there a way to enable it
Shareque
  • 129
  • 1
  • 9
0
votes
2 answers

Unable to load dynamic library 'pdo_mysql.so' because upgrade php version to 7.4

I make some PHP applications and use PDO. Everything is fine until I remove --purge PHP 7.2 and install PHP 7.4. The program is running but says "could not find driver". Install all modules like usual, and have error like this in Ubuntu…
0
votes
1 answer

How to find which php file is running in php-fpm?

I found a high CPU loading in php-fpm from the top command. Is there any way to find which file is currently running by php-fpm?
hatted
  • 1,535
  • 1
  • 15
  • 26
0
votes
0 answers

Nginx + phpFPM | DEBIAN 10 | PATH_INFO is always empty

I've already looked at the proposed solutions on stackoverflow and I didn't find anything that solved my problem: Nginx + phpFPM: PATH_INFO always empty PATH_INFO in $_SERVER always empty - NGINX + FPM 7.3 + Ubuntu 18.04 Nginx config rewrite with…
Nicolas
  • 1
  • 4
0
votes
1 answer

Docker run symfony on PHP-FPM

How can I install all needed php extension on this docker image to run symfony 5. At this moment I can't run composer install cos following error. Problem 1 - Installation request for lorenzo/pinky 1.0.5 -> satisfiable by lorenzo/pinky[1.0.5]. -…
Klick
  • 1,418
  • 1
  • 23
  • 45
0
votes
2 answers

PHP-FPM 7.4 sometimes hangs for a few requests

Hello all fellow devs, I have a problem in a production site (laravel). Sometimes(like 4-8 request an hour) the most simple requests are causing this kind of errors: [13-Dec-2020 18:07:07] WARNING: [pool www] child 514732, script…
0
votes
1 answer

php-fpm: File not found in kubernetes

I'm trying to set a k8s deployment with 2 pods (nginx + php-fpm), but I can't get php-fpm to execute the php scripts. The webpage displays File not found., and in logs : fpm pod : 192.168.3.187 - 13/Nov/2020:16:44:06 +0000 "GET /index.php"…
Patator
  • 164
  • 1
  • 9
0
votes
1 answer

Laravel Missing BC Math or GMP extension

I have laravel project on Centos Machine on Google cloud . I have this problem when I am trying to access the system Missing BC Math or GMP extension. (View: /var/www/html/alparslan/resources/views/frontend/index.blade.php) this is the code …
Netcom Ask
  • 33
  • 4
  • 7
0
votes
1 answer

PHP-FPM stops rendering page when more than X notices are thrown

Recently changed to php-fpm from apache php on a very old legacy codebase. Having an issue where the whole page stops rendering with no errors in fpm or apache logs. I wrote a quick test script to reproduce the…
R.Meredith
  • 184
  • 2
  • 10
0
votes
1 answer

Can not access PHP-FPM site

Using OpenSUSE v15.2, Apache. Installed PHP-FPM with zypper. Followed instructions on this site: https://en.opensuse.org/SDB:Apache_FastCGI_and_PHP-FPM_configuration I restarted Apache and PHP-FPM. However the site is not loading in the browser. I…
klor
  • 1,237
  • 4
  • 12
  • 37