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
0 answers

Not able to setup Tombs zend extension for php-fpm

I've been trying to setup tombs zend extension for php on my ubuntu 16.04 server since last 24 hours and not been able to. zend extension: https://github.com/krakjoe/tombs First, I tried to set it up on php7.0-fpm version, everytime I would enable…
Axel
  • 113
  • 3
0
votes
1 answer

phpMyAdmin as PHP-FPM container

I've these two containers: nginx: image: nginx:1.17.4-alpine container_name: nginx ports: - '80:80' - '443:443' volumes: - './certs:/etc/nginx/certs' - './site.conf:/etc/nginx/conf.d/site.conf' pma: …
Jumpa
  • 4,319
  • 11
  • 52
  • 100
0
votes
1 answer

json_encode doesn't output to echo correctly - CodeIgniter 3, PHP 7.4 + NGINX, Ubuntu 18

I have a strange problem. There is an Ajax request (POST), which sends data to the CodeIgniter 3 endpoint and everything is ok. The data is send and I can access it there, but in the PHP, when I try something like: echo json_encode([ …
gdfgdfg
  • 3,181
  • 7
  • 37
  • 83
0
votes
0 answers

PHP-FPM stop respondiing on aws [upstream timed out (110: Connection timed out)]

I have a site running on aws But it stops working regularly. And once I restart PHP-fpm it starts working smoothly. This is the error I am getting in error log when site throws 504 - 2308#2308: *3310 upstream timed out (110: Connection timed out)…
Sunil Chhimpa
  • 404
  • 1
  • 4
  • 12
0
votes
1 answer

PHP-FPM on CentOS 8 - different user

I'm using apache and PHP-FPM on CentOS8, but I am running apache as the nidb user. I've changed all of the config file locations I think I need to the nidb username/group, but I still get an error about /run/php-fpm/www.sock permissions once I…
Greg B
  • 609
  • 6
  • 19
0
votes
1 answer

NGINX and Yii2 advance add another project in sub-directory

By usng NGINX and php-fpm, I want to add another Yii2 advance project under sub-directory like this www.xyz.net - frontend project A, root at /var/www/html www.xyz.net/admin - backend project A, root at /var/www/html www.xyz.net/old -…
CHB
  • 45
  • 5
0
votes
1 answer

"sendmail_path" setup using ".user.ini" files is failed (php-fpm)

I use PHP 7.3: PHP Version 7.3.11-1+ubuntu18.04.1+deb.sury.org+1 Server API FPM/FastCGI and I need to have different sendmail configurations for different virtual hosts (applications). I try to use .user.ini file to configure PHP…
Alex Gusev
  • 1,526
  • 3
  • 16
  • 35
0
votes
0 answers

Running multiple projects in nginx using php-fpm creating session for each http request from one application to another

I have 2 independent application which is built on Zend framework with php-fpm and running on Nginx on the same server. When I' m calling API from one application to another application. Session are creating for each request under following folder…
Lokesh R
  • 1
  • 1
0
votes
1 answer

How to get rest of this NGINX 203 error from PHP-FPM

I keep getting a 203 error from NGINX and could use some help resolving it. I get this error when I go to http://localhost, http://localhost/index ... etc. The site works perfectly fine. [error] 60#60: *203 FastCGI sent in stderr: "PHP message:"…
Chemdream
  • 618
  • 2
  • 9
  • 25
0
votes
0 answers

Reading file stream fails in PHP with standard input while using fast cgi with nginx

I had an implementation with email hook setup with postfix in ubuntu server to pipe the incoming email to a script file. The implementation worked fine with apache and PHP 5.6. Recently I migrated the application to nginx with Fast CGI and PHP 7.1…
Hammad
  • 2,097
  • 3
  • 26
  • 45
0
votes
1 answer

ini_set('session.use_only_cookies', 1) is set to 1, but condition says no

I have a login page, from where i submit my form data and whilst doing so, i create a self made session function, in which i check if (ini_set('session.use_only_cookies', 1)). While the data is passed on, the session gets created and i check if the…
tmzafar
  • 180
  • 3
  • 15
0
votes
0 answers

How to stream text / html in php-fpm

I've got a problem in production environment, which is running dockerized Apache with PHP-FPM (image : webdevops/php-apache). On dev server, it run in mod-php with built-in Symfony server. On dev server I can stream a response like so: for($i = 0;…
Nicolas G
  • 11
  • 1
0
votes
0 answers

Performance degradation/site is down, guessing it's caused by PHP-7.3 FPM buffer overflow?

I am having issues with performance degradation / website is not reachable. End users see 502 Bad gateway error. The behaviour is php-fpm works fine for several hours, then site starts to work slower and slower and then site throws 502 error. The…
0
votes
1 answer

Ubuntu 16.04 Vagrant box. PHP 5.6 fastcgi. I get a generic 500 error on page but no logs anywhere

New Vagrant box. I have a provision script that sets up PHP 5.6 and 7.1 using fastcgi as I'm doing an upgrade test so want to toggle versions. Starting with PHP5.6 enabled. Virtual host is as follows: ServerName local DocumentRoot…
Aaryn
  • 1,601
  • 2
  • 18
  • 31
0
votes
1 answer

xdebug only profile php process not php-fpm process

php info.php can triger profiling and write profile file to /tmp/cachegrind.out.* like -rw-r--r-- 1 roofe www 344 Jul 11 12:04 /tmp/cachegrind.out.6723 -rw-r--r-- 1 root root 7172 Jul 11 12:06 /tmp/cachegrind.out.6808 -rw-r--r-- 1 root …
LF00
  • 27,015
  • 29
  • 156
  • 295