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)

-1
votes
1answer
28 views

502 errors on WordPress / nginx / php5-fpm

I've looked through lots of other Server Fault and Google results that all have talk about generally similar situations, but I can't quite find the insight that I'm looking for. I would appreciate any ...
0
votes
0answers
6 views

Login to apache website fails when using named host

Our issue seems to be when we log into a named sub-website in Firefox everything works as expected; There is nothing special about the login.php script it's simple enter name here, password there and ...
0
votes
0answers
18 views

Can't increase timeout on nginx with php-fpm

Our nginx refuses to increase the timeout for a request from the default of 60 seconds. I've already set the following parameters, but the server still gives me 504 after 60 seconds: ...
0
votes
1answer
12 views

PHP-FPM on Linux, SCHED_BATCH or SCHED_OTHER?

I have a Linux webserver (Ubuntu 12.04, kernel 3.2.0) running Magento with quite a number of PHP-FPM child processes. Since Magento is a heavy framework, I often see several child processes to baloon ...
0
votes
0answers
10 views

Is it safe to upgrade PHP5-FPM from a non-official repository

I am novice to Ubuntu... I have a production server running in Ubuntu 14.04 and I have to upgrade PHP5-FPM version to 5.5.24 from my current version.I cant find the latest version in Ubuntu official ...
2
votes
1answer
20 views

Nginx php-fpm, try_files and GET params

I'm having a problem getting nginx configuration to work. Seems like everything works fine but my php script does not receive GET parameters. The most relevant link I get on my issue is this one nginx ...
0
votes
0answers
8 views

Fast CGI Creating Error for PHPMyAdmin [on hold]

On my local Mac web development environment (apache24, php56 all running in Homebrew), I am receiving this error: [Mon Jun 29 12:08:00.032053 2015] [fastcgi:error] [pid 7670] [client 127.0.0.1:57079] ...
1
vote
0answers
82 views
+50

502 errors on random (not all) pages

A few weeks ago I noticed in the Google Webmaster tools that a few of my URL's were returning 502's. One such URL is http://www.sau.com.au/forums/topic/437438-around-the-bay-wrap-up/ This URL ...
0
votes
0answers
20 views

A nginx, php-fpm, and mysql php app is very slow for no explainable reason — times out often

I have a setup of a load balancer, followed by a web server consisting of nginx, hhvm, and php-fpm. The app I speak of is using php-fpm, and all hhvm apps perform fine. When I access ...
0
votes
0answers
13 views

Starting php5-fpm process after gluster filesystem has been mounted

How can I initialize a php5-fpm process using upstart so that it starts after /etc/fstab has mounted a remote gluster filesystem? I know that in Ubuntu, this can be done by using the filesystem and ...
0
votes
0answers
27 views

Getting recv() failed (104: Connection reset by peer)

The following issue happens only when i use Laravel's @include to include other blade templates into main layout: /etc/nginx/error.log 015/06/25 23:42:34 [error] 3374#0: *1 recv() failed ...
2
votes
1answer
20 views

PHP/FastCgi - Which is the threshold over which to use nginx instead of apache

I'm a PHP developer, I have always developed on a LAMP environment and it's all gone well 'til now. At the moment, I am developing a PHP web application, still on apache and without the use of any ...
0
votes
0answers
29 views

Can not connect with imap_open but openssl s_client works

So after 2 days of trying all the solutions I could find that seemed to apply, I am still scratching my head. There must be something I am missing. I am trying to connect to a postfix/dovecot mail ...
0
votes
0answers
62 views

Apache 2.4 Event MPM + php-fpm + php-opcache yields “Connection reset by peer” errors

I have a CentOS 7 server running Apache 2.4.6 with Event MPM and php-fpm version 5.6.10 (from REMI repo). Here's the relevant Apache config to send requests to php-fpm within the vhost (it's the only ...
-1
votes
1answer
37 views

After Rebooting mysite gives blank pages

Mysite is using Ngnix, I just resized my Server's RAM, after rebooting, every thing was normal, but mysite gives me blank white page, i didn't detect any "Error logs" server { listen 80; ...
0
votes
0answers
65 views

Multiple php versions simultaneously on Centos 7 with Apache 2.4 and PHP-FPM

Hi i have the following shared hosting environment: Centos 7 (Systemd) Apache 2.4 (Httpd) PHP 5.4.16 and PHP-FPM Suexec for sh.scripts each Apache Vhost have his own PHP-FPM Pool and systemuser. ...
0
votes
1answer
34 views

Limit PHP-FPM memory consumption

In my php5-fpm/php.ini I have: memory_limit = 512M However, after serving a few requests, ps uxa shows: root 1130 0.0 0.3 339892 8064 ? Ss 05:29 0:00 php-fpm: master process ...
0
votes
1answer
39 views

FastCGI: “comm with server aborted: read failed” only for one specific file

Related question: FastCGI and Apache 500 error intermittently The solution does not work for me. The problem: I have a Laravel 5.1 application (was in production on other servers ...
0
votes
0answers
26 views

No script name passed to php-fpm via nginx/FastCGI

I run a PHP 5.6 instance over php-fpm without a problem (unix sockets and nginx). Today I compiled PHP 7 and also started it as a second PHP instance. While requests get served fine with the PHP 5.6 ...
0
votes
1answer
38 views

Monit unable to restart php5-fpm

Monit is correctly detecting that php5-fpm is unavailable as seen in the logs. However, it does not seem to be able to restart the service. log: [EDT Jun 11 18:04:20] error : 'php5-fpm' failed, ...
0
votes
2answers
41 views

Does Linux, Apache HTTPD or PHP cache frequently / recently accessed files?

Let's say we have a simple index.php file that goes: <?php inclde('file1.php'); inclde('file2.php'); inclde('file3.php'); Presumably, this will ultimately result in three additional ...
-2
votes
2answers
121 views

PHP opcache. 100% hits, 100% used memory [closed]

My PHP OPcache hits 100% Memory Usage General info Zend OPcache 7.0.4-dev PHP 5.5.23-1+deb.sury.org~trusty+2 Server Software nginx/1.6.2 Here are my Cache Settings: zend_extension=opcache.so ...
0
votes
0answers
20 views

PHP-FPM stops responding suddenly and resumes after 2-3 minutes

I have 4 php-fpm servers running on backend to server Php request to Nginx. Everything works fine but sometimes suddenly PHP-FPM stops responding to Nginx and resumes well in normal mode without ...
0
votes
0answers
26 views

PHP-FPM + Apache (403 forbidden message)

Im having trouble installing php-fpm. When ever I install it and open a php file i get a 403 forbiden status code Looking at the logs is see client denied by server configuration: ...
-2
votes
1answer
48 views

Conceptual doubts about Zabbix [closed]

Conceptual doubts about ZABBIX In the context of “web application monitoring”, is it possible and recommendable to have Zabbix working on a server different from the one that contains tha ...
0
votes
1answer
48 views

php-fpm: locale settings change themselves

I experienced a bug with php-fpm : locale settings change themselves randomly. Here are the correct locale settings: Array ( [decimal_point] => . [thousands_sep] => ...
1
vote
1answer
57 views

Apache ProxyPass worker name too long

I'm passing my php files to php5-fpm within my Apache .conf file however I'm receiving an error message when restarting the Apache server: ProxyPass worker name ...
0
votes
1answer
85 views

php-fpm does not work me exec or shell_exec

I have OpenBSD 5.6 and php-fpm, nginx. Is chrooted by default on /var/www I try:(test.php) <?php if(function_exists('exec')) { echo "exec is enabled"; }else{ // it's not echo "exec is ...
0
votes
1answer
23 views

APC Extension unable to load dynamic library /usr/lib/php5/20090626/apcu.so

I have installed using this Tutorial https://www.23systems.net/2009/07/installing-alterative-php-cache-apc-with-plesk-on-ubuntu/ and all is running fine. Even APC is caching everything and apc.php ...
1
vote
0answers
33 views

Apache configured as mpm_worker - why it still shows as mpm_prefork?

I believe that I properly configured Apache MPM as worker under Ubuntu 13.10, including PHP-FPM and FCGI, and disabled mod_php. When I run top I can clearly see multiple Apache (~2-3 MB) and php (~ ...
1
vote
1answer
119 views

Codeigniter in subdirectory on Nginx 404

I'm trying to setup Codeigniter in a subdirectory of my domain. Currently I only get an 404 from Codeigniter on the index page. As soon as a want to go to example.com/api/welcome/index I get a 404 ...
0
votes
1answer
50 views

Debian 8 + PHP: /tmp/ Permission denied

I had a website running fine on Debian 7 + PHP 5.6, and recently decided to upgrade my Debian installation to Debian 8. Everything went fine, except for a small thing. While running the same code, ...
0
votes
0answers
13 views

Can't seem to get fastcgi_cache_use_stale to work

So I have two browsers open and am requesting a page: http://localhost/test.php Once every 10 seconds the cache expires and when I refresh the page it takes 5 seconds to load the script, store in ...
1
vote
1answer
69 views

PEAR Mail error seems to crash the server (php-fpm) : 504 Bad gateway

I've been running on this issue for a few days. I haven't made configuration changes, apart from the usual system/security updates. Server runs on Debian Wheezy PHP 5.4.41-1~dotdeb+7.1 Nginx ...
0
votes
2answers
93 views

PHP in NGINX directory alias not working

I have a fresh install of Ubuntu 14.04 server. I have installed nginx, php, etc.... server { listen 80; listen [::]:80; server_name testone.local; root /var/www/htmlone; index ...
2
votes
1answer
53 views

Proper Way of Setting Umask For php-fpm on Debian/Ubuntu

I'd like to set umask to 002 for the php-fpm process. I'm reading here and here that on Ubuntu/Debian it is supposed to be done by modifying the init script. I'm having doubts however that this is ...
1
vote
2answers
157 views

Docker - scaling nginx and php-fpm seperately

I've been playing around with docker and docker-compose and have a question. Currently my docker-compose.yml looks like this: app: image: myname/php-app volumes: - /var/www ...
0
votes
0answers
32 views

PHP-FPM Stuck & High IO

Actually on my mutual hosting server I'm using PHP 5.6.3 with one pool. Sometimes, my php-fpm process is stuck with 50% of WA and I can't kill it, I can't even restart my VM. I'm using 245MB/3968MB, ...
0
votes
3answers
47 views

Nginx and php-fpm communication issue

I have 2 nginx server and 4 dedicated php-fpm servers configured in upstream for executing PHP with 2 instances each means in upstream i have given 8 instances with ports 9000 & 9001 for each ...
0
votes
1answer
83 views

PHP-FPM output errors to be handled by php application with nginx

I'm having difficulty setting up a docker container with phpfpm to defer error handling to my php application. Any fatal exceptions are being processed by the xdebug stack trace ...
0
votes
0answers
28 views

Random Post on 404 url nginx

I'm having a funny issue on my Wordpress lemp instalation. Here's the thing: Lets suppose you have a url of example.com/category-of-shoes which leads to a post regarding such matter. When I type a ...
1
vote
1answer
22 views

How should PHP FPM be monitored for max_children being exceeded?

I've set up the PHP-FPM and Nginx status output with the intent of monitoring for max_children being exceeded on a particular pool. I am, however, unable to load the status output when max children ...
0
votes
1answer
121 views

php5-fpm with nginx Session Not Maintained / Dropped Randomly

When running nginx with php5-fpm, session variables randomly lose their values. Since my session variables become empty, my script asks for the user to login again. However, what's weird is that the ...
1
vote
0answers
40 views

Why won't php5-fpm start?

I've just installed php-fpm 5.6.8 but it won't start - start php5-fpm gives me a Job failed to start message. I've found several people with simalar problems, but the none of the answers seem to work ...
0
votes
1answer
72 views

Temporarily website outages, fastcgi PHP communication abborted

I've noticed that my web server has occasional 1-5 minute outages every day. I've checked the Apache error log and found the following: [Sun May 10 14:13:19.299784 2015] [fastcgi:error] [pid ...
0
votes
0answers
149 views

Apache Server Stops Serving Requests Temporarily with Apache 2.4.12 on Amazon Linux with PHP 5.4.40 FPM/Worker

We have an apache server stopping serving requests constantly due to the following error: (70007)The timeout specified has expired: [client xxx.xxx.xxx.xxx:33740] AH01075: Error dispatching request ...
1
vote
2answers
550 views

Nginx upgrade to 1.8 - Now getting 502 bad gateway

Today I upgraded my localhost server from nginx 1.6.3 to 1.8.0 and now all my local websites are getting a 502 bad gateway. A standard nginx config file is as follows server { charset utf-8; ...
0
votes
0answers
40 views

Nginx passing Server $status through fastcgi

i'm passing through fastgci the server $status to handle the errors_page with a php file. like so. fastcgi_param REDIRECT_STATUS $status; this way works but is clearly not the "correct" way ...
0
votes
1answer
103 views

Unable to set AJXP_DATA_PATH variable for Pydio in CentOS

I'm trying to launch Pydio on my CentOS 7 server with Nginx. I get to a point where everything is working, I mean I get a Pydio Error, it is generated by Pydio. Impossible write into the ...
3
votes
2answers
1k views

Nginx 1.6.3 to 1.8 upgrade

I'm on Linux Mint LMDE. I just receive a upgrade of nginx from 1.6.3 to 1.8.0 with aptitude and now, I got blank page on all my websites Here my configuration : server { listen 80; ...