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
9 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
14 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
0answers
14 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
74 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 ...
-2
votes
0answers
19 views

ngnix php-fpm error centos [on hold]

I'm using nginx version: nginx/1.6.2. I've tried to with only sock file but this is not working.. Anyone knows correct configuration ? php-fpm conf : listen = 127.0.0.1:9000 ; listen = ...
0
votes
0answers
42 views

nginx & php5-fpm exited on signal 7 (SIGBUS) / 502 Gateway Timeout [on hold]

if got the problem when i load a page multiple times (i.E. 10 Tabs with autoreload) only some of the pages load others get 502. it doesn't depend on the content of the page. when i open the same page ...
0
votes
0answers
13 views

How to add dbase to PHP-FPM [closed]

I just moved some code to a new server running Nginx and PHP-FPM and now I am getting this error message: Fatal error: Call to undefined function dbase_open() I've Googled around but I can't ...
0
votes
1answer
20 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 ...
0
votes
0answers
19 views

Nginx+PHP-FPN slow only on the benchmarked domain [on hold]

While benchmarking my website using: $ ab -n 1200 -c 150 -k -H "Accept-Encoding: gzip, deflate" I notice that while the test is running it takes several seconds to access the same page from the ...
-1
votes
1answer
51 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 ...
1
vote
1answer
188 views

CentOS 6.6 with Nginx 1.6.2 - Suddenly can't restart nginx - nginx: [emerg] open() “/usr/share/nginx/on” failed (13: Permission denied)

This is a new install in which nginx previously started and stopped normally. I believe this error arose after enabling server blocks which tested (nginx -t) successfully. I then tried to restart ...
0
votes
0answers
47 views

How to run 2 fast-cgi (php-fpm) websites on an nginx server?

I have nginx running with a few vhosts for different domains. One of them uses php-fpm. I need to add another vhost(for a new domain) that points to a new directory and that also has to use php-fpm. I ...
0
votes
1answer
23 views

SOA: Is using PHP FPM to serve webservice traffic without NGINX a good idea?

I'm in the processes of developing a service oriented architecture using PHP. A member of my team has suggested that because each of the services serves only http traffic, serving responses only in ...
-1
votes
0answers
36 views

nginx php5-fpm white page

My nginx.conf: location ~ \/php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; include fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME ...
3
votes
1answer
25 views

nginx locations and precedence (deny ignored for *.php)

I'm a somewhat experienced Apache admin in a past life, but I've decided to take the plunge and learn nginx. So far everything seems fairly intuitive, but it's clear that I haven't quite internalized ...
0
votes
0answers
10 views

php-fpm timeout (ping and status also timed out)

I've problem with my fpm in production server. The fpm keep hanging until I restart the service. After restarting, the problem gone. But it will return in a day or two. Keep it restarting won't be a ...
1
vote
1answer
48 views

Need recommendations on Firewalled DMZ design for PHP web server on Linux

The 3 options we are considering are listed below. Which one is best or is there a better solution we didn't consider. All servers are linux with nginx. Do you see anything particularly wrong with ...
0
votes
2answers
37 views

Why arent these web pages getting processed by PHP?

I have created a fresh install of nginx and php5-fpm on an Ubuntu 14.04 server and made the changes shown below to get configuration working. When I browse to a directory containing an index.php or ...
0
votes
1answer
38 views

SSL on Ubuntu 12 LTS with Apache and PHP-FPM

After reading many tutorials I managed to run successfully Apache MPM-Worker and PHP-FPM on Ubuntu 12 LTS. I have separate pools for each user and everything works like a charm. However I need to ...
0
votes
0answers
63 views

Apache + Event_MPM + FastCgiExternalServer + php5-fpm : php-fpm hangs emergency_restart_threshold does not reset

Sorry if this seems rambled. I have been trying to troubleshoot / solve this for the past 20 hours straight, while having to babysit the server and restart php5-fpm every time it goes down. I imagine ...
0
votes
0answers
22 views

Set php-fpm slow log file permissions

I have a setup of php-fpm on CentOS 7 with each user having their own pool and log files. I want to make sure that each user is able to view their own log files. This works great for the PHP ...
0
votes
0answers
21 views

Location directive not working when using php-fpm (via mod_fastcgi)

I've configured a virtualhost which should be completely restricted with a SSL client certificate, except one location (/Public). My configuration in my virtualhost: <Location ~ ^/(?!Public)> ...
0
votes
1answer
52 views

Correct nginx virtual host for wordpress that's installed on non-root directory?

Let's say my main domain is example.com. I install SSL on the domain and I can successfully access domain. My preferred version is using www, so all requests will be redirected to ...
0
votes
0answers
21 views

Per-pool php.ini with PHP-FPM without php_value workaround

I'd like to use separate php.ini files for each PHP-FPM pool. I've checked similar questions and they all say to use php_value, but that's a really dirty workaround and would require to manually (or ...
0
votes
0answers
5 views

Custom error_page: Nginx gives 404, PHP sees 200 [migrated]

I'm trying to set up a custom error page. Any error code (400–599) should be routed through this page to display the error and the appropriate status code. Here's my server configuration: server { ...
0
votes
0answers
134 views

Wordpress and PHP-FPM slow

I cannot find answer elsewhere. I have plain vanilla Wordpress installation. No posts. Database completely empty. Server 1 is nginx + php-fpm Server 2 is mysql nginx & php-fpm set-up according ...
1
vote
1answer
101 views

Nginx and different versions of PHP FPM + PHP

Due to a better understanding of what I wish to achieve thanks to Mark and his previous answer, I am posting a (hopefully) clearer and slightly different variation of my previous question as that ...
0
votes
0answers
40 views

Unable to open redis 6379 for inbound on AWS EC2

I have two servers on EC2. One hosting my php application and other hosting my redis server. I am managing my php session and data on redis server. So on my php server I gave the ip:port as session ...
2
votes
1answer
45 views

Limit the total memory usage of PHP-FPM

I'm running PHP-FPM on my Debian servers. My question is about the memory usage. I can only set the memory_limit inside PHP, and that shouldn't be too low for some requests. I also can only set the ...
-1
votes
1answer
59 views

SELINUX blocking php-fpm and nginx working together?

I'm having some issues with SELINUX. When trying to visit my website I get 403 forbidden from nginx and the server pops up with an error and says to use grep NGINX /var/log/audit/audit.log | ...
0
votes
1answer
13 views

Strange issue with Nginx compiled from source and Nginx from official Fedora repository

TL;DR Nginx, compiled from source, had trouble process .php files, while with the same PHP-FPM configuration, nginx , from official Fedora repository, worked like a charm on DigitalOcean 512MB Fedora ...
0
votes
0answers
35 views

Nginx Configuration

I am trying to setup nginx web server for my web application. Below are the URL's I want www.example.com -----> /var/www/html www.example.com/backend/ -----> /var/www/app/backend/www ...
-1
votes
1answer
134 views

Multiple versions of PHP through nginx

EDIT: For future reference Multiple versions of PHP through nginx Nginx and different versions of PHP FPM + PHP I am running Ubuntu 14.10 with a LEMP stack using PHP 5.5.12. I have a number of ...
0
votes
1answer
54 views

403 Forbidden error with fcgid and PHP

I'm trying to configure php and mod_spdy on Apache 2.4, Debian jessie, x64. I've followed this guide and configured Apache following this other guide and installed these packages: ...
0
votes
1answer
30 views

Nginx hosting with path appended to index.php

I'm hosting an instance on Concrete5, and in addition to using a dynamic paths, they also use URLs in the weird form of www.mysite.com/index.php/path/to/page. I have it mostly working, but I'm ...
0
votes
0answers
25 views

Wordpress low-level mkdir() call failing, despite correct file permissions

When trying to install a theme in Wordpress, I get this error: The file ownership and permissions are correct: # ls -l /var/www/ total 4 drwxrwxrwx. 6 nginx nginx 4096 Feb 24 09:35 wordpress ...
-1
votes
1answer
55 views

Wordpress is unable to write files, despite correct file permissions [closed]

I am unable to automatically install plugins or themes on my new wordpress setup. It gives me this screen: I believe this is usually due to a write permission error on the wordpress directory. ...
0
votes
0answers
8 views

nginx getting php plain unparsed if change to root to subfolder [duplicate]

with this config all files within the /usr/share are accessible and i just want to serve the phpmyadmin folder and not everything. if i set the root to /usr/share/phpmyadmin and set before the ...
1
vote
1answer
55 views

nginx, fpm - Bad Gateway error on php

i'm stuck here with a Bad Gateway issues and PHP I use Nginx 1.6 in combination with FPM on Debian Wheezy. Its a clean and new installation. But everytime if i run a php file it will result in a Bad ...
0
votes
1answer
37 views

Does php-frm make PHP run faster?

As I understand it, php-fpm makes PHP pages respond faster by managing a farm of pre-loaded PHP interpreter processes so the end user doesn't experience the overhead of initialising the PHP subsystem, ...
0
votes
1answer
47 views

Using fastcgi_split_path_info for a userdir in nginx

I'm trying to execute a PHP file on my server at the url /~nik/t.php (actual file is at /home/nik/public_html/t.php). Here's what my PHP settings look like: location ~ ^/~(.+?)(/.*)\.php$ { alias ...
0
votes
1answer
52 views

Wordpress category links are not working on an Nginx server

I just configured a new server to move my website. After I migrated, everything works fine except for category links. If we visit a category, it will give a 404 error. Page permalinks are working ...
1
vote
1answer
83 views

PHP-FPM max_requests parameter causes 502

On a setup using nginx with PHP-FPM v5.3.3, I noticed the following errors occurring frequently in the nginx' errors log: Feb 16 15:00:22 mymachine www.example.com 2015/02/16 15:00:20 [error] ...
0
votes
1answer
68 views

NGINX, PHP5-FPM, Varnish. WP-Admin becomes unresponsive after a while

wp-admin becomes unresponsive after like 10 hours of not being logged in. In order to get it working i need to restart php5-fpm. I'm using NGINX with PHP5-FPM and Varnish. This is my settings: ...
0
votes
1answer
55 views

Calculate worker connections based on CPU/RAM Utilization

I am new to nginx. My machine is centos 6 with 4 CPU and 8 GB of ram. As per recommendation my worker_process = 4. I have set worker_connections to 500 for 2000 max clients but load average goes upto ...
0
votes
1answer
30 views

How to generate a php.ini file out of current environment?

For some of my running PHP web applications (running under PHP-FPM) I need to setup cronjobs. Currently all those cronjobs are using the CLI default php.ini. Is there any easy way (e.g. script) ...
0
votes
0answers
27 views

VirtualDocumentRoot and ProxyPassMatch

I have the following Apache configuration: ServerName localhost UseCanonicalName Off LogLevel debug <VirtualHost *:8080> ServerName _default_ VirtualDocumentRoot ...
0
votes
1answer
65 views

How to configure Apache to use mod_fastcgi and php-fpm?

Now I am running Apache to serve php files using mod_php. Will I get a performance enhancement while running PHP in fastcgi mode? There are two virtualhosts on this server for now. I followed this ...
0
votes
2answers
82 views

OPcache breaks phpBB registration

I don't know what happended, but whenever a user tries to register himself on one of my phpBB forums nginx throws 502 Bad gateway, but if I disable OPcache everything works fine. This is the error ...
0
votes
1answer
44 views

Bitnami apache + php-fpm stack can't disable buffer

I'm trying to get my service running that requires it output without a buffer. Is it possible to use php-fpm without a buffer with apache? <IfDefine USE_PHP_FPM> <Proxy ...