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
0answers
21 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
votes
0answers
19 views

Apache + Nginx + Varnish + FastCGI = PHP Connection timed out? [on hold]

I am running a server with Nginx being the frontend, passing the data to Varnish, or if its a PHP script, passing it to FastCGI, and then the Apache Backend; however, when I attempt to execute a POST ...
1
vote
1answer
16 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
0answers
40 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
0answers
5 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
16 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
30 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
26 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
5 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
24 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
0answers
25 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
25 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 ...
0
votes
2answers
42 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
17 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
33 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
47 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
19 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
19 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
52 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
votes
0answers
17 views

nginx don't route static files

I'm trying to configure a typo3 instance with nginx, but i have problem with the extension realurl. Realurl is an extension with uses routes to make easy reading url. instead ...
1
vote
0answers
25 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
37 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
63 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 ...
0
votes
0answers
240 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
26 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
46 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 ...
1
vote
1answer
606 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; ...
1
vote
1answer
57 views

FastCGI cache is always a MISS

So, I've setup FastCGI cache like this: location ~ \.php(/.*)?$ { fastcgi_cache RWI; fastcgi_cache_valid 200 60m; set $nocache 0; if ($request_method = POST) { set ...
0
votes
0answers
15 views

nginx sends 404 instead of waiting for fastcgi

Our nginx is configured to send thumbnails from a folder. If they don't exist, nginx has to pass the request to fastcgi to generate the thumbnail and send it to the user. If the requested doesn't ...
0
votes
1answer
20 views

Nginx refuses to read new directory in /home

I'm on CentOS6.6, installed "Akeneo" and all went well. Installed into /home/pim so the actual location for nginx to use is the web directory where app.php is located. Doing a namei on ...
0
votes
0answers
47 views

php5 fpm consuming lot of CPU

My problem is with php5-fpm processes which are consuming a lot of CPU. Any single request from my website is resulting in CPU consumption of minimum of 20% to the max value. I've observed many times ...
1
vote
1answer
41 views

No Input File Specified with Nested Docroot

I have the following nginx config for 2 different domains: server { listen 80; root /srv/users/serverpilot/apps/myapp/public; index index.php index.html index.htm; server_name ...
0
votes
0answers
67 views

Nginx Varnish 4.0 SSL Wordpress configuration redirects mydomain.tld to https://127.0.0.1

I have the following stack: (redirect http to https =>) https nginx -> varnish -> nginx http -> php5-fpm When I open my.url.com I get instantly redirected to https://127.0.0.1 Without varnish, ...
0
votes
2answers
42 views

Nginx & PHP-FPM: Query parameters won't be passed to PHP

I am currently setting up a machine for local development using Vagrant. Everything runs as it should, expect query parameters aren't passed to PHP on subpages. That means on www.example.com/?a=b, ...
1
vote
1answer
27 views

ProxyPassMatch and mod_rewrite order of operation

I've got a situation with Apache 2.4, PHP-FPM and Wordpress Multi user in sub folder mode. All non *.php files work fine in the subfolder, as does the main example.com/subblog/ url, however anything ...
0
votes
0answers
50 views

Nginx redirects http request to one vhost

I have installed nginx with php-fpm. When I try to access example.org it redirects me to https://example.com What's wrong with my configs? nginx.conf user www; worker_processes 1; ...
0
votes
1answer
55 views

Centos 7 Apache 2.4 php_fpm 30 second timeout

I need to set execution timeout for Centos 7 Apache 2.4 php_fpm, but there seems to be a hard coded timeout somewhere in the Apache proxy. I see max_execution_time correctly set (to 300) in ...
1
vote
2answers
37 views

Disable Gateway Timeout for Specific Nginx Port / Folder

How can I disable the nginx timeout when accessing through a specific port, or simply a specified folder. Whichever is easier. Basically I have some scripts which need to execute for a long period ...
0
votes
1answer
56 views

nginx + PHP-FPM disable PHP functions only for certain virtual hosts

How can I disable some php functions only for some of(currently only 1) virtualhosts on my Nginx+PHP-FPM stack?
1
vote
0answers
95 views

NGINX / PHP-FPM: Ajax slow first request, good next ones

The CMS is Elxis, which comes from a variant of Joomla (PHP). The server is running nGinx with PHP-FPM All requests get logged and executed, eventually, B U T!!! When firing a specific request via ...
-2
votes
1answer
35 views

Make user have same UID as PHP?

I'm running a web app in a FreeBSD jail. Nginx and PHP are configured as user:group www:www. I have a chrooted SFTP user who also is in the group www. (SFTPuser:www) My goal is that the files that I ...
1
vote
1answer
79 views

can't use mail() on nginx but can send mail on console using msmtp

I setup msmtp on my centos 6, i know its working fine because I can send email using bash command: echo -e "Subject: Test Mail\r\n\r\nThis is a test mail" |msmtp --debug --from=default -t ...
1
vote
1answer
62 views

PHP-FPM Primary script unknown, but SCRIPT_FILENAME is set correctly [duplicate]

I'm using Nginx 1.5.12.1 with PHP-FPM for PHP 5.6.5 on CentOS 6.6 x64. When I visit any page, I get a 404 with the error: File not found. My PHP-FPM error log doesn't say anything useful, but ...
0
votes
1answer
126 views

(bad) nginx + php-fpm optimization (done by our provider) review

I asked our hosting provider for nginx + php-fpm optimization on our managed server. I got this answer: Hi, There isn't much optimisation that can be done within Nginx as it is threaded and ...
0
votes
0answers
50 views

Sometimes for Some users 404 Not Found Nginx + PHP-FPM

Sometimes (Not Always) , I Get Nginx 404 not found message on my site. Unfortunately there are no logs written about it neither in php-fpm or in nginx error logs. Can it be due to caching ? I am ...
1
vote
1answer
106 views

Configure Centos7 Apache 2.4 php-fpm to run as user

I would like to configure a Centos 7 Apache 2.4 Linode to use php-fpm to execute php as the file owner. The docs for earlier Centos6 / Apache2.2 don't work and the configurations I have seen for ...
0
votes
1answer
79 views

Nginx PHP-FPM stops after connection timeout

I have a server with Nginx and PHP-FPM for a single web application. Everything works will until I make a request for a page that takes over the 60 seconds allowed. Then PHP stops responding to any ...
2
votes
1answer
119 views

Website not loading static files when NGINX has static cache content enabled

I have a VPS running CentOS with NGINX/PHP-FPM. Everything works fine, except when I add the following lines to enable the static cache content. If I do, the page does not load those files specified ...
0
votes
1answer
81 views

PHP-FPM - problems with the pre-start process

My webserver runs NGINX with PHP-FPM. After (I guess) an update, the service php5-fpm stopped working and refuses to restart/start - even after a reboot. As another webserver does the same updates and ...
-1
votes
1answer
95 views

502 bad gateway after upgrading PHP5-FPM

I just upgraded php-fpm and my server has gone away with a 502 bad gateway I've been searching for solutions and came across some like this: http://stackoverflow.com/a/10470827/1612432 and this ...