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

proxy_fcgi:error AH01071: Got error 'PHP message: ' - but ONLY when stepping with xdebug

Trying to debug a web page with Apache Netbeans IDE 12 and XDEBUG. The page loads correctly outside the debug environment - but, when I enable XDEBUG via browser add-in (xdebug-helper): Netbeans stops correctly at First Line When I step to next…
flymike
  • 935
  • 2
  • 9
  • 18
0
votes
0 answers

Setting php_admin_value in Amazon Linux2 with FPM

I searched for a whole day trying to find this, so I'm sharing my experience in attempting set php_value and php_admin_value with Amazon Linux2 instances. First of all, Linux2 runs PHP with the much more efficient and faster FPM (FastCGI Process…
WebTigers
  • 297
  • 2
  • 8
0
votes
1 answer

Serve PHP App from Particular URI Using Nginx + php-fpm: "Primary script unknown" Error

I'm attempting to configure Nginx to serve both a Django application and a Laravel application. I have the Django application working correctly, so now I'd like get the Laravel application served from /snipe-it. The main part of the nginx config…
TechnoConserve
  • 140
  • 1
  • 11
0
votes
1 answer

Why Nginx with php7.4-fpm does not give an output?

I have installed nginx along with php7.4-fpm. The nginx and fpm are installed and running properly. When i run the server no output shown in browser.Kindly tell me why the output of index.php file is not displayed at browser. when i try with…
Ranjit Vamadevan
  • 514
  • 5
  • 21
0
votes
1 answer

NGINX / PHP7.4-FPM throws 502 without error_reporting enabled

yesterday I stumbled across a weird problem. Suddenly a specific PHP script didn't work anymore, it threw a 502 error. When I enabled error_reporting, only notices / warnings are displayed, but the rest of the page is being rendered correctly. When…
Chris
  • 21
  • 2
0
votes
0 answers

After upgrading to PHP 7.4.3 cURL Socks proxy not Working

I just upgraded PHP from 7.2 to 7.4, but I noticed that PHP cURL Proxy is not working in 7.4. Here is the code I am using:
Santhosh Veer
  • 83
  • 1
  • 3
  • 13
0
votes
0 answers

Multiple php script running for days, due to a 503 error

I have a problem with a client website. The website in question loads a random php script (approximately) every hour that runs in circles (for several days) and crashes the server. FPM Php script list Example I contacted the web host and he doesn't…
AlexB
  • 1
0
votes
1 answer

Infinite loop Nginx php-fpm redirect to another index.php

Base on that architecture: ├── application ├── assets ├── bloxby_enterprise_1_4_0.zip ├── build ├── ci_3.1.9 ├── config.ini ├── elements ├── _htaccess ├── images ├── img ├── index.php ├── install ├── license.txt ├── Makefile ├── node_modules ├──…
Boat
  • 509
  • 3
  • 8
  • 21
0
votes
1 answer

php:7.4-fpm-alpine - Invalid configuration `gd': machine `gd-unknown' not recognized

I'm trying to get work a php:7.4-fpm-alpine image, but a get this error in build time: checking host system type... Invalid configuration `gd': machine `gd-unknown' not recognized configure: error: /bin/sh build/config.sub gd failed ERROR: Service…
0
votes
1 answer

PHP: http requests getting stuck in fpm pool for 30 seconds before getting processed

I have an Ubuntu server with nginx and several apps running on php7.3 There is only ONE php app, Yourls https://yourls.org/ (latest version), whose http requests are getting stuck in the fpm pool for 30 seconds before returning a response. After…
anode84
  • 308
  • 2
  • 9
0
votes
1 answer

fpm installed, but not working on Mac Mojave

I am writing a script to build a debian for my project which requires fpm. For installing fpm, I have followed the instructions from the official site. gem installs it properly, and I can see it in the gems list. However, fpm command doesn't work.…
Rutwick Gangurde
  • 4,772
  • 11
  • 53
  • 87
0
votes
1 answer

nginx proxy only serves part of data Wordpress running on Ngninx

I have a Wordpress instance running on first nginx server ( Virtual Machine A ) . I can work with perfectly fine locally, everythings is well resolved and all path are accessed ( like /wp-admin/ , /wp-content/ , /wp-includes/ etc... ) thru my url…
MouIdri
  • 1,300
  • 1
  • 18
  • 37
0
votes
0 answers

Error when jenkins slave run fpm command (/usr/bin/env: ruby_executable_hooks: No such file or directory)

I installed fpm by using a command: rvm @global do gem install --no-user-install -no-ri --no-rdoc --bindir /usr/local/bin/ fpm on docker image. But I could only execute the fpm command in /bin/bash mode, and couldn't with /bin/sh mode as shows an…
0
votes
0 answers

recv() 502 bad gateway -Nginx +PHP7.4-fpm, Google Cloud ubuntu instance

I got 502 bad gateway same issue on php7.4-fpm: *3459 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: {ip address}, server: {xxx.zzz.com}, request: "GET /xxx/yyy HTTP/1.1", up stream:…
Fausta
  • 72
  • 2
0
votes
1 answer

Php7.4 preload with opcache enabled fpm error

I'm currently using nginx, php7.4-fpm (php7.4.2) and symfony5. I tried to enable php7.4 preload feature I'm getting fpm error. *1 recv() failed (104: Connection reset by peer) while reading response header from upstream,…
Andrius
  • 344
  • 3
  • 15