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

learn more… | top users | synonyms (2)

0
votes
1answer
16 views

PHP-FPM user permissions after restart

For some reason after I restart php-fpm daemon, files that were generated using PHP (Twig templating cache) aren't accessible by PHP anymore. I think it's something to do with php-fpm user/group ...
0
votes
1answer
778 views

Apache + PHP-FPM + chroot results “File not found.” error

I want to set chroot to the DocumentRoot using PHP-FPM pools' chroot attribute. With the settings below, whatever I do I get only a "File not found." error: /etc/php5/fpm/pool.d/example.conf ...
0
votes
1answer
2k views

Nginx + PHP-FPM “error 104 Connection reset by peer” causes occasional duplicate posts

I'm running Drupal 6 with Nginx 1.5.1 and PHP-FPM (PHP 5.3.26) on a 1GB single core VPS with 3GB of swap space on SSD storage. I just switched from shared hosting to this unmanaged VPS because my site ...
0
votes
0answers
6 views

how to deal with php5-fpm variable appended with REDIRECT_

we are using php5-fpm on a debian wheezy (php5.4), since we used fpm (with libmodfastcgi), all variable added to any .htaccess is prepended with REDIRECT_ . is there any tips to avoid that ? thanks ...
0
votes
1answer
35 views

Getting warnings while “make test” PHP on Mac OS X (MySQL PDO->prepare()) [closed]

Here are the results of "make test": ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- ...
0
votes
0answers
37 views

PHP-FPM pool stops responding and fails to restart

I am running PHP as PHP-FPM behind Nginx. Occasionally one of the pools stops responding to requests. It seems that nginx is accepting the connection, passing it to PHP-FPM but then PHP-FPM is not ...
2
votes
0answers
29 views

Nginx + wordpress in different directories [closed]

Trying to get a /blog working with wordpress alongside an existing application running at root (also php). Cant seem to get wordpress running with assets. Any ideas? server { listen 443 ...
0
votes
1answer
41 views

Problems compiling PHP make: *** [sapi/cli/php] Error 1

Here is the message I am getting: Undefined symbols for architecture x86_64: "_iconv_close", referenced from: _zif_iconv_substr in iconv.o _zif_iconv_mime_encode in iconv.o ...
0
votes
0answers
27 views

User Uploaded Images– Blank Post – Connection reset by peer / FastCGI: incomplete headers

To give a little background, I have a website that permits users to upload images. WordPress is used as a content management system and the posts are immediately published with the image inserted as ...
0
votes
1answer
697 views

nginx / fpm and PHP_VALUE not working

I am trying to alter some php.ini values for a single site of my web server: fastcgi_param PHP_VALUE "auto_prepend_file=/var/www/profile/external/header.php \n ...
0
votes
1answer
80 views

PHP-FPM with Nginx not Working on port 80

I am trying out nginx on my Ubuntu 14.04 desktop, I have referred to some basic setup articles and have installed the latest Nginx and PHP-FPM from the apt repository. I have nginx working and can get ...
2
votes
1answer
43 views

How does PHP APC shared memory expiration works?

I am using the APC and see I still have 25MB of free memory. However, in the Cache full count, I see I have 8 already. So, why that happens? And if my understanding is: APC is not a LRU cache, so ...
1
vote
2answers
1k views

Ever increasing mem usage by php-fpm?

It seems php-fpm is allocating more and more memory, although peaks and dips in amount of requests. Couldn't post more than one image, so I put them here. As you can see in the uri of the pictures, ...
0
votes
0answers
43 views

Getting multiple pools working using PHP-FPM and Apache 2.4

I've been running into an issue with PHP-FPM pools not being able to start up if they're not on port 9000. I get the following error when I try to start a second pool on, say, port 9001: Jun 13 ...
1
vote
2answers
498 views

Forwarding PHP requests via ProxyPassMatch as a handler, or only when file exists

I am migrating my server to use mod_proxy_fcgi and php-fpm instead of mod_php. Apache is able to forward .php requests to the fcgi proxy and PHP executes correctly. I've got this working with: ...
-1
votes
1answer
424 views

Unknown 502 bad gateway a php page running on nginx php-fpm [closed]

I am having a hard time trying to understand why my php page doesn't load. It always ends up in a 502 error page. I'm on osx mountain lion with homebrew installed nginx and php-fpm with php 5.5.7 ...
0
votes
1answer
530 views

PHP-FPM runs PHP scripts as root

I have a web server setup using nginx and PHP-FPM listening on a Unix socket. In my php-fpm.conf, I have specified user = www group = www When I run ps aux, I can see that the php-fpm worker ...
1
vote
1answer
109 views

Apache FastCGI server connection failure

I have a virtual machine base box for Debian wheezy that I've been using with vagrant for the last few months without any issues, however yesterday when I brought up a new machine and updated/upgraded ...
0
votes
2answers
115 views

Varnish + Nginx + multiple IP addresses

This is my first shot at making Varnish work on my dedicated server which hosts 2 domains with 2 separate IP-addresses. My simplified setup is as follows: Nginx conf server { listen ...
1
vote
2answers
304 views

Creating Multiple Users on Single PHP-FPM Pool

Have PHP-FPM/FastCGI up and running on my cPanel/WHM server but I'd like have it allow for multiple users off of a single pool. Getting all vhosts to run off a single pool is simple by adding this to ...
1
vote
0answers
51 views

Nginx + PHP-FPM Too Many Resources

My Server has the following Specs CPU: 6 Cores Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz RAM: 32 GB I have a problem with nginx+php-fpm. They are taking too many resources for an unknown reason. ...
1
vote
2answers
3k views

PHP5-FPM + Apache2 on Debian Wheezy : connect() failed with FastCGI

I have this error on Debian Wheezy, I don't understand what am I missing. Logs from php5-fpm are OK. Error from apache2 log: [error] (2)No such file or directory: FastCGI: failed to connect to ...
-1
votes
0answers
36 views

Is adding the www-data to the users' group safe?

To be clear, this is the inverse of what I see being asked here. How secure (or insecure) is this? What I'm doing is creating each user part of their own group. i.e. foobar foobar. All files within ...
0
votes
1answer
47 views

php-fpm use a lot of cpu

I use wordpress on Ubuntu 12.04 with Nginx + php-fpm on my VPS. There are 2 CPU cores + 4096Mb memory. I've moved mysql database to antoher server and set remote access. There are about 300 online ...
0
votes
1answer
120 views

nginx - CPU usage goes to 100% and php5-fpm stops when processing concurrent requests

I am processing php file with nohup command so that it should run in background. But when I process more than 20 nohup commands then cpu usage goes to 100% and php5-fpm crashes results in connect() ...
1
vote
0answers
33 views

APC has no system cache entries

I have 2 web servers to provide PHP websites. One server is : Apache + PHP-FPM + APC The other : Apache with MPM-itk + APC. For both of these servers, APC has no cache system entries but only users ...
0
votes
0answers
119 views

Either, nginx+php-fpm bad config or nginx+php-fpm cannot handle high query?

I have wordpress installed in my server configured(hopefully with nginx+php-fpm+mariaDB). I am trying to import using wordpress importer a 1.5MB xml file. Everytime I try to upload it using the ...
0
votes
2answers
326 views

Ubuntu running Apache Server (Prefork) PHP Fast-CGi High CPU Usage

I have a server running very slowly due to high CPU usage. I think this must be a configuration issue but I can't put my finger on why. The server is running Plesk and I've configured PHP to run as a ...
0
votes
1answer
226 views

Nginx + PHP-FPM on Centos 6.5 gives me 502 Bad Gateway (fpm error: unable to read what child say: Bad file descriptor)

I am setting up a standard LEMP stack. My current setup is giving me the following error: 502 Bad Gateway This is what is currently installed on my server: Here's the configurations I've ...
-1
votes
3answers
76 views

Nginx serve one, specific PHP script for all .HTML requests

In short, I need to run a specific php file, patch.php, every time someone requests an html page on this site... We recently moved from an Apache server to an Nginx server, and everything has been ...
-1
votes
2answers
185 views

PhpMyAdmin 500 Internal Server Error on Nginx/php5-fpm/Debian

I downloaded PhpMyAdmin a while ago and am having a hard time getting it to work. Requesting localhost/phpmyadmin gives a 500 Internal Server Error response, but there's nothing in the error log. ...
0
votes
0answers
187 views

Can't get Postfix Admin to use Dovecot password hashing

I'm setting up Postfix Admin 2.91 and trying to use dovecot:SHA512-CRYPT for password hashing. In config.inc.php I have set: // dovecot:CRYPT-METHOD = use dovecotpw -s 'CRYPT-METHOD'. Example: ...
1
vote
0answers
68 views

CentOS 6.5 x64 + Ajendi +nginx + php-fpm + mysql setup unable to load the PHP page

I'm using Ajendi to setup a PHP web server, I can load the PHP info page, when I try to load the PHP copy from other server, I get a blank page with this log appear on access log, I have no clue what ...
0
votes
0answers
70 views

php-fpm process in D state ,cause nfs wait rpc_wait_bit_killable

my wordpress site which is in clustered environment using NFS,nginx,php-fpm,mysql the infrastructure is hosted on amazon ec2.Under high load/traffic the php5-fpm process goes in D ...
0
votes
0answers
58 views

Installing php-imap in centos 6

I am trying to install phpimap5.4 but is not working may i know how to do it without reinstalling php sudo rpm -Uvh php54-php-imap-5.4.16-7.el6.centos.alt.x86_64.rpm error: Failed dependencies: ...
1
vote
2answers
88 views

Relation between PHP-FPM settings and mpm_worker (Apache)

I've a site running Magento on the following setup: Apache 2.4 with mpm_worker PHP-FPM Total RAM in server: 14GB (10GB avilable to Apache/PHP) Each PHP-FPM process consumes approximately 80MB of ...
1
vote
0answers
19 views

PHP-FPM slowlog and Mysql lost connection

I was having an issue with PHP-FPM and mysql. When I needed to process an input file that would generate several selects/inserts/updates for each line, it would stop after approximately 60s with ...
0
votes
1answer
110 views

NGINX connect() to unix:/var/run/php-fpm/vhost.sock failed

I use Centos 6.5 (64bit) with Nginx, PHP-FPM. Nginx with fastcgi connect to PHP-FPM using unix domain socket. When I place the socket in a directory with proper permission, it's ok. However when I ...
1
vote
3answers
686 views

403 forbidden on nginx

I'm trying to create a localhost server with nginx. I'm getting a 403 Forbidden on my page. Here's my nginx error log: 2013/03/30 20:39:18 [error] 12161#0: *1 directory index of ...
1
vote
1answer
5k views

I/O Error with PHP5-FPM, ptrace(PEEKDATA) failed

I got a lot of these: [NOTICE] child 19214 stopped for tracing [NOTICE] about to trace 19214 [ERROR] ptrace(PEEKDATA) failed: Input/output error (5) [NOTICE] finished trace of 19214 [WARNING] ...
0
votes
2answers
2k views

PHP FPM gives permission denied?

I read several entries on why PHP-FPM might give me permission denied but I can not solve it. The error logs read like: 2013/04/20 23:33:28 [crit] 15479#0: *6 open() "/var/lib/nginx/tmp/fastcgi ...
1
vote
1answer
491 views

Docker + nginx + Php-FPM 502 Bad Gateway

I'm trying to install php-fpm and nginx via docker and I have a problem with nginx which returns me a 502 Bad gateway error, however when I try to go on any HTML file only displays correctly. What ...
2
votes
1answer
185 views

SElinux label for php-fpm sockets

I'm attempting to set up multiple instances of php-fpm to run multiple versions of php through apache 2.2 running on centos 6.5. At some point in the future this will end up in a shared hosting ...
0
votes
3answers
1k views

Nginx, PHP-FPM and multiple domains

I'm new to nginx and php-fpm. My question: Do I need to create two php-fpm config files or just one? Can both nginx config (different domain/app) point to the same php socket? If so will it cause ...
7
votes
3answers
23k views

What is wrong in my php-fpm configuration?

I have a 64-bit server but only 256MB of RAM. So, I moved to nginx server with fast-cgi to connect to PHP. I have PHP 5.3.6 running. The issue is that after every two or three days when I try to ...
0
votes
4answers
1k views

Can't disable error logging in php5-fpm

Is there any way to disable error logging in php5-fpm? I changed the /etc/php5/fpm/php.ini file with: log_errors = Off display_errors = Off and restarted php5-fpm. My nginx logfiles are still ...
0
votes
2answers
82 views

Php file are not parsed by fastcgi in nginx

I m new to nginx my server block is server { listen 25552; server_name *.example.com; root /usr/share/myPackage; rewrite ^/$ /index.php permanent; location ~ ...
0
votes
2answers
188 views

Nginx + php-fpm and multi-domain

I have 3 domain name, 1 server and 1 IPv4 and 1ipv6. I’ve set a record to my ipv4 (I doesn’t use IPv6 right now). My 3 sites use Wordpress. I have configured Nginx, and php-fpm for a domain. ...
-1
votes
1answer
37 views

Can't seem to install PHP-FPM5?

I am reading some advice on the internet for a solution to another issue I have. It requires me to change the listen to /var/run/php5-fpm/php5-fpm.sock. I however don't have that folder.. I have a ...
0
votes
0answers
108 views

Joomla Extension Uninstall Causes 502 Bad Gateway

We have a VPS with some PHP websites hosted on our Ubuntu 12.04 LTS servers using NGINX. In a Joomla 3 site, when uninstalling an extension that errors out, the page shows an NGINX error page with a ...