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
-1
votes
1 answer

Nginx load balance with proxied php-fpm - try_files

I'm trying to setup multiple php-fpm servers to handle traffic spikes. Right now I have one machine running Nginx + PHP7.3-fpm + Redis (6vCPU and 16GB RAM) and another separated running only php-fpm 7.3 and same extensions. Everything is ok but I…
Felipe Lima
  • 443
  • 1
  • 10
  • 19
-1
votes
1 answer

PHP Composer with FPM config

When I try to install MongoDB with composer, it complains that I don't have the mongodb extension configured in my ini files. It's looking at the regular php ini files but mine are under /fpm as I'm using nginx. How can I tell composer to use the…
Jasper van den Bosch
  • 3,169
  • 4
  • 32
  • 55
-1
votes
1 answer

How to use php-5.6 from ppa:ondrej/php repository when using php-fpm?

I was wordering if it's possible to install php-5.6 from ppa:ondrej/php repository within php-fpm. For now, i was using a tutorial that builds php from source: https://www.howtoforge.com/tutorial/how-to-install-php-5-6-on-ubuntu-16-04/ How can i…
Ricardo Vigatti
  • 526
  • 13
  • 29
-1
votes
1 answer

How to upgrade the version of php-gd library when running from php-fpm at Ubuntu 16.04 server?

I've followed this tutorial to install and support PHP-5.6 at my ISPConfig3 server: https://www.howtoforge.com/tutorial/how-to-install-php-5-6-on-ubuntu-16-04/. The installation is up and running, now I want to change the php-gd library version. PHP…
Ricardo Vigatti
  • 526
  • 13
  • 29
-1
votes
1 answer

Is it correct for PHP-FPM to start a new process for every request?

I have a one line PHP script that prints out the PID using getmypid(), every time the script is called via FPM the PID changes, but I expected the pid to be the same. I thought the whole point of FPM was that a new process would not be spawned every…
Peter Prographo
  • 1,141
  • 1
  • 10
  • 27
-2
votes
0 answers

Error installing fpm: rexml requires Ruby version >= 2.5.0

I'm trying to install fpm using gem and run "sudo gem install fpm" command but I hit an error given below. How to resolve the issue. Error installing fpm: rexml requires Ruby version >= 2.5.0. I'm tried to install fpm.
-2
votes
1 answer

php - Not showing the output from ob_start();

I am trying to run a PHP script in the background after getting the 200 respond from apache, however, it is not working, am facing a little problem with the following code and I am not sure…
-2
votes
2 answers

Create RPM from pre-built binary with no source code

I'm trying to create an rpm package for Hashicorp Vault. I can download the Vault binary as a zip file from the website, but clueless about how to get that binary packed as an rpm. I tried fpm but I guess I can't use that for packaging pre-built…
1 2 3
33
34