Questions tagged [php-fpm]

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

PHP-FPM provides a number of useful features over the traditional FastCGI php implementation. It is implemented as a daemon that controls one or more PHP process 'pools' which can be independently configured. Main configuration options for each pool include:

  • Socket on which requests are received (either local or TCP)
  • Separate php.ini settings for specific application requirements
  • Dynamic process control. FPM can dynamically change the number of worker processes depending on pool load.
  • Uid/gid for the pool workers
  • In-flight configuration updates - a change to the pool configuration will be rolled out gracefully across all pool workers without losing connections.
2118 questions
0
votes
1 answer

Centos 7 nginx php upgrading

My currently running website works great and it currently using php 5.4.45 FPM/FastCGI, however I would like to upgrade to php 5.5.9+ for an api documentation subdomain that has that php requirement. after searching and trying different things for…
0
votes
1 answer

nginx + php-fpm downloading php (CentOS 7)

I have nginx and php-fpm installed on Centos 7, when i try and go to a test php file it downloads it instead of running and rendering in the browser. All other html, image files etc display fine. If this has been answered elsewhere on the site…
morleyc
  • 1,150
  • 13
  • 47
  • 89
0
votes
1 answer

An other FPM instance listening on php5-fpm.sock

i have set up multiple PHP versions in ISPconfig 3 and the hole thing actually works except i can not start more then one Version at a time then i get this error "An another FPM instance seems to already listen on /var/run/php5-fpm.sock" i have been…
Anoxy
  • 101
  • 2
0
votes
1 answer

Simple NGINX setup not working

So I am new to NGINX, and I am trying to setup a simple phpinfo page in /home/codehitman/nginx/phpinfo directory. I have setup the /etc/hosts file with the following directive: 127.0.0.1 phpinfo.local And here is the conf file: server { …
codehitman
  • 201
  • 2
  • 9
0
votes
1 answer

Php FPM + Apache. Customize 404 for PHP files

I have setup a small Apache instance and configured PHP with FPM. I am using the ProxyPassMatch directive. Now, when FPM does not find the requested file, it will just print out "File not found" and quit, without using my custom error pages. I have…
Palantir
  • 125
  • 1
  • 10
0
votes
1 answer

Setting up nginx and php-fpm on CentOS 7 - which config file do I alter? I'm so lost

I'm intermediate with Ubuntu and Apache, but a total noob to CentOS. I want to setup a 1 CPU 1 GB RAM test VPS for a phpbb 3.1 forum, and I'm following this tutorial: How To Install Linux, Nginx, MySQL, PHP (LEMP) stack On CentOS 7 Most of it is…
jreed121
  • 129
  • 2
  • 8
0
votes
0 answers

Wordpress showing article title, but content is showing blank

I recovered from a disaster situation on the server, database is not affected. My wordpress files were old, from previous version (maybe 4.3). When I recovered those file and setup nginx with it, I see title, theme and everything, even the article…
hlx98007
  • 338
  • 1
  • 4
  • 11
0
votes
1 answer

nginx1.8.0+PHP 5.6.16 on OSX, some php pages links show 500 Internal Server Error

My page documents locate in /usr/local/var/www drwxr-xr-x joshua:admin My nginx configure is nginx.conf and my php and php-fpm configure is this file and I find I can use wordpress(/usr/local/var/www/wordpress) perfectly, but not…
0
votes
0 answers

nginx configuration: Extremely poor performance of AWS server running Magento

I have an AWS server which is setup with nginx with Magento, and PHP-FPM. The server is currently setup as an on-demand type (which I realize is the wrong type to use). Type: c3.2xlarge CPU : 8 (2.80GHz) RAM : 16GB Storage : 1TB Php version :…
siliconpi
  • 1,807
  • 6
  • 32
  • 46
0
votes
2 answers

Error with apache 2.4 and PHP 5.6.14-0+deb8u1 With fpm

I have a Vagrant machine with: Apache/2.4.10 (Debian) PHP 5.6.14-0+deb8u1 and PHP-FPM. In some case I get this error: 500 Internal Server Error. And I have this in message in php5-fpm.log [09-Dec-2015 20:01:24] WARNING: [pool www] child 608…
Oskar Calvo
  • 103
  • 5
0
votes
1 answer

How do i know what curl_exec is slow from slow_log

My applications makes curl fetches html pages using curl.PHP-FPM slowlog shows the following script_filename = /var/www/mywebsite.com/public_html/www/file.php [0x00007f2e36a6fdf8] curl_exec() /var/www/mywebsite.com/public_html/www/file.php:1006 The…
user2650277
  • 125
  • 1
  • 8
0
votes
1 answer

Configuring php7.0 with apache2

I'm running the newly released php7.0 on debian jessie. By now it works all fine. Enabling the pdo_mysqli, I have found mutliple configuration directories for php7. There are: apache2 cli fpm I'm aware, that the cli is the command-line php…
simon
  • 101
  • 1
0
votes
1 answer

Can/should PHP-FPM and Apache be run under the same user/uid and/or group/gid?

I decided to reinstall my box's PHP and Apache today to give FPM a go, never used it before and wanted to do some performance tests as I've heard it is a lot faster. Right after compiling and installing PHP with FPM support, of course, the first…
GGets
  • 270
  • 2
  • 7
0
votes
1 answer

Nginx redirects all domains to one website

I'm trying to setup a server with Nginx and PHP FPM and I ran into some trouble. I've set up an Nginx virtual host and a fpm pool for each website. The problem is that all domains are showing the same website, even though it's not the default…
Alex Dumitru
  • 315
  • 2
  • 3
  • 8
0
votes
0 answers

nGinx & php-fpm Delayed Response

I'm using PHP 5.6.X with nginx 1.8.0 . Nginx Config: user nginx; worker_processes auto; worker_rlimit_nofile 300000; events { multi_accept on; worker_connections 6000; use epoll; } http { include mime.types; …
OhGodWhy
  • 13
  • 5
1 2 3
99
100