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
5 views

And another FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream,

having some issues with 'file not found' or FastCGI sent in stderr. From what I have searched and researched about the issue it's due to the fastcgi_param SCRIPT_FILENAME not being able to locate the ...
-5
votes
1answer
31 views

Deleted php5 www.conf help please [on hold]

I accidentally deleted the php5 www.conf file located at: /etc/php5/fpm/pool.d/www.conf is there any way to get a copy of the original file back? I believe there is an answer to my question ...
0
votes
0answers
14 views

PHP FPM, chroot can't connect to AWS RDS

I've been experimenting with chroot'ing php-fpm pools via the built-in chroot method in php's pool config. This is for the purpose of hosting multiple wordpress websites on the same AWS EC2 instance. ...
-1
votes
1answer
36 views

php-fpm using 100% CPU and nginx gives 404

I am playing around with Magento CE on Nginx and its working fine. Problem starts when I do a 500 user load test. The php-fpm process hogs up all the CPUs to 100% and I start getting 404 as the ...
2
votes
1answer
26 views

php-fpm: What is the bottleneck for accepting connections faster?

On a php5-fpm status page, what is the bottleneck that is preventing my server from accept()'ing new sockets fast enough? pool: www process manager: static start time: ...
0
votes
1answer
28 views

PHP-FPM TCP connections not terminating in time

I'm serving Wordpress pages via nginx/PHP5-FPM using APC caching (through the W3 Total Cache plugin). Nginx communicates with PHP-FPM via TCP sockets on port 9000. I've adjusted the number of max ...
0
votes
1answer
22 views

Nginx Cache with PHP-FPM

I have the folowing niginx config file: server { listen 80; server_name pajilleros.com www.pajilleros.com; access_log off; location / { root ...
1
vote
1answer
21 views

php-fpm log filling with configuration test successful

I have nginx and php-fpm running and I just noticed my /var/log/php5-fpm.log is filling with this message once a second or so: NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful ...
0
votes
0answers
10 views

“No input file specified” [closed]

Good evening, I've just set up my second server to learn somewhat about them. The first one was a LAMP stack on a raspberry pi, but had to be replaced by a LEMP one because of the needed performance. ...
0
votes
0answers
34 views

nginx php-fpm not fully working

I'm using nginx-1.6.2_1,2 with php5-5.4.36 on: # uname -a FreeBSD X.X.X 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0 r265974: Wed May 14 07:57:04 PDT 2014 root@X.X.X:/usr/obj/usr/src/sys/R610 amd64 ...
0
votes
0answers
27 views

How to enable apache userdir when using nginx as reverse proxy

I have a setup using apache 2.4, php-fpm, and nginx. I need to enable the apache userdir module so http://ip-of-server/~user would be equivalent to the http://example.com normal site. I can't get it ...
0
votes
0answers
45 views

OpendBSD HTTP php execution

I just installed openbsd 56 and want to configure the default Reyk Floeter's httpd server. Here are the simple steps I followed: I installed php-fpm via pkg_add I authorized httpd in /etc/rc.conf I ...
0
votes
1answer
21 views

Nginx Load Balancer having two load balanced nginx+php-fpm (Primary script unknown) error

We have two web servers with nginx+php-fpm ( 10.0.0.10 and 10.0.0.20 ), which is load balanced behind another nginx server ( just nginx ), when we try to browse we get file not found error, with error ...
0
votes
1answer
17 views

Aparch with Worker MPM AND php-fpm

I am willing to shift my application server from default prefork MPM module to worker MPM. My server configuration is OS - CentOS 6 Apache - Apache/2.2.15 (Unix) PHP 5.4.35 (fpm-fcgi) CPU - 4 RAM - 8 ...
0
votes
2answers
29 views

nginx with php5-fpm and multiple Wordpress in subdirectories

I have a running nginx server with php5-fpm on a debian wheezy. I want /var/www/devel/ to be my development folder served at http://devel.example.com. In this directory I have multiple projects like ...
0
votes
0answers
41 views

Is it really possible to use PHP sessions for authentication with nginx fastcgi cache?

I have recently switched an opencart instance from Apache+mod_php to nginx+fastcgi+php-fpm. I have been trying to leverage caching for most pages through fastcgi-cache. Unfortunately, many users ...
0
votes
1answer
28 views

nginx handle multiple locations for one server

I need to setup a virtual host to run my users.example.com website. It needs PHP support via php-fpm. The ideia is to have a mapping like this: users.example.com/~user1/folder/file.php -> ...
0
votes
1answer
39 views

Running PHP and Node.js on the same Nginx server

is it possible to run PHP and Node.js on the same Nginx Server and VPS? I already manage to make nginx as reverse proxy for node.js but my question is how to run it alongside with PHP? I want node.js ...
2
votes
1answer
52 views

Nginx treating old PHP urls as Files

Having a very hard to trying to figure this out. I have changed my website from another platform to Joomla and now Nginx is unable to handle old urls. My Old Urls were like this: ...
0
votes
1answer
38 views

How to get php-fpm to log to stdout / stderr when running in a docker container

I have php-fpm in a docker container and in the Dockerfile I edit the fpm config file (/etc/php5/fpm/pool.d/www.conf) to set up access logs to go to /var/log/fpm-access.log and error logs to go to ...
0
votes
0answers
25 views

Bitnami NGINX Stack - Multiple Domain Names to subdirectories

Bitnami NGINX Stack on Ubuntu [NGINX, PHP-FPM, MySQL,] I am trying to run multiple domain names on the same NGINX server [Bitnami NGINX stack]. I am running a WP multisite on example.com I am ...
0
votes
0answers
12 views

Errors when enabling zend_opcache on php-fpm with apache 2.4 proxy

I'm setting up a webserver to host several small sites (mostly wordpress) by putting together php-fpm 5.5.9 and apache 2.4.10 on ubuntu. After reading a good amount of tutorials and post, I decided ...
0
votes
1answer
38 views

Wordpress mu 404 with LEMP stack + Ispconfig3

I have a Centos dedicated server with Nginx, PHP-FPM and ISPConfig3 as control panel I installed Wordpress in a sub-domain and enabled Wordpress mu : ex.domain.com I added the following rules in ...
-1
votes
0answers
49 views

Drupal7 + Apache 2.4 + PHP-FPM 5.4 -> white screen/text only

I've set up a website comprising :: Apache 2.4 + mod_proxy_fcgi; :: PHP-FPM 5.4; :: MySQL 5.5; :: Drupal 7.34. After some research on The Net and tinkering I managed to get php working, and also to ...
0
votes
1answer
72 views

Should Varnish Hits Touch PHP?

I have a reasonably large Drupal site sitting being Varnish on a box with 4GB of memory. I had thought (hoped? assumed?) that standing Varnish up in front of Nginx/PHP-FPM would take the load off of ...
0
votes
0answers
8 views

nginx - userdir with user permissions [migrated]

What I want to do is have the usual server running user files like this: http://users.example.com/~user1/stuff.php which would be stored somewhere in /home/user1/www or something like that, but ...
0
votes
1answer
35 views

PHP-FPM Can't create enough children and stops serving requests

I'm new to PHP-FPM and I've noticed at random intervals it will seemingly just lock up. [26-Dec-2014 22:50:16] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or ...
-2
votes
0answers
89 views

PHP-FPM 5.6 with NGINX is downloading app.php of Symfony 2 and throwing 403 forbidden

I've been trying to set up development environment in Vagrant using CentOS 7 + Nginx 1.6.2 + php-fpm 5.6.4 Everything went smooth and worked, until I installed Symfony 2 project with this folder ...
0
votes
1answer
170 views

Vagrant, nginx 404 - fastcgi sent in stderr unable to open primary script

Was googleing a lot of and didn't find solution for this. Have found few accepted answers here on stackoverflow, but they didn't helped me. I am using vagrant for development, or at least trying to ...
0
votes
1answer
49 views

Why is my PHP server redirecting to the wrong address?

I'm setting up a PHP web server on OpenBSD. phpinfo() is up and running. But, every time I try to install Wordpress, it's redirecting the client to the dummy hostname created on OS install ...
0
votes
0answers
103 views

nginx hhvm bad gateway

I do have an issue with Nginx 1.6.2(compiled) and HHVM 3.4.2. Everything is installed 'fine' when I run hhvm info.php it returns 'HipHop'. But when I visit the website I get an 502 bad gateway, so ...
0
votes
1answer
29 views

nginx, web page degraded when root path is changed

I'm setting a wordpress up with nginx. Everything's seems ok : server is up phpinfo() test is ok the worpress install routine is showing up The only trouble is the root statement in the web server ...
3
votes
0answers
162 views

nginx & php-fpm [debug] 11: Resource temporarily unavailable

New Development The core php error logs are below, but the site specific error logs show this. The memory on my php.ini file is : memory_size 1024; so it's not php's memory limit. I've also ...
0
votes
1answer
18 views

Is there any option to allocate fixed number of php process to an application?

I have an Ubuntu server with Nginx and PHP5-FPM in which the settings are as follows: /etc/php5/fpm/pool.d/www.conf pm = dynamic pm.max_children = 6 pm.start_servers = 4 pm.min_spare_servers = 2 ...
0
votes
1answer
37 views

php-fpm-5.6.2 and mod_vhost_alias ProxyPassMatch

I've been using successfully fcgi for php and mod_vhost_alias. Now with new server I was looking into php-fpm which looks interesting with Apache/2.4.6 on CentOS 7. php-fpm setup is working fine but ...
0
votes
2answers
295 views

Nginx / PHP-FPM = Blank pages

Dear ServerFault Community, I managed to get my site into a fully functional state two days ago.. Around 3 hours ago today, I've restarted my linux box and have found my site to no longer work. I have ...
1
vote
1answer
46 views

Random HTML and cookie value gets appended to apache proxy_fcgi error message

I am using Apache with PHP-FPM on my web server. When user enters some random pathname that Apache passes to proxy-fcgi and the file could not be found, there will be a standard error recorded in the ...
2
votes
0answers
30 views

Q: lighttpd uses 2GB ram while idle for private page

I'm running a server with lighttpd installed. It runs php5-fpm and servering an owncloud server. Ubuntu Server 14.04 lighttpd/1.4.33 (ssl) (Jan 28 2014 17:26:04) - a light and fast webserver PHP ...
0
votes
1answer
71 views

Configure Monit to monitor PHP5-FPM on Ubuntu/Nginx setup

System: LEMP running on Ubuntu 14.04 I'm trying to configure the tool Monit to restart Nginx or PHP-FPM if ever there is a problem. It is correctly monitoring Nginx however under status for PHP-FPM ...
0
votes
2answers
96 views

Chroot doesn't work in PHP5-FPM + nginx

I have added two line in: "/etc/php5/fpm/php-fpm.conf". There are: chroot = /home/user/www/public_html chdir = / In the server section of my: /etc/nginx/sites-available/default: root ...
0
votes
1answer
2k views

Nginx error: “Primary script unknown” while reading response header from upstream

I have installed Nginx 1.6.2 with PHP-FPM (PHP 5.5.18) under CentOS 6.6 server. I didn't touch nothing else but /etc/nginx/conf.d/default.conf file where I made some changes (see below): server { ...
0
votes
0answers
107 views

PHP-FPM ERROR: unable to read what child say: Bad file descriptor (9)

I'm having this issue: Apache 2.2.26 PHP 5.4.32 PHP-FPM 5.4.32 Zend OpCache 7.0.3 PHP-FPM Config: [testuser] listen = /dev/shm/testuser-php.sock listen.owner = testuser listen.group = apache ...
2
votes
1answer
29 views

Php-fpm process always running

I am using Nginx with Php-fpm (php 5.5 + opcode) for a very high traffic web site, php-fpm status endpoint to monitoring what going on. After a big traffic peak, 200 "active process" are still running ...
0
votes
1answer
101 views

Drupal 7 Multi-site Sub-folders nginx configuration

I'm using perusio configuration for drupal but I think that is only designed for single web site. php does not work in subfolders. I want to create a structure as follows: Main site ...
1
vote
1answer
59 views

How can I monitor resource usage for PHP sites on a per-virtual-host basis on GNU/Linux?

Running a bunch of PHP sites via apache2.4/mod_php on RHEL using the prefork MPM. My apache children are using a fair bit of RAM and lots of CPU. I would like to be able to attribute RAM/CPU use on ...
0
votes
2answers
95 views

Header unset seems not to work with apache 2.4.10 and php-fpm

I'm trying to pass headers from php code back to the apache accesslog by using HTTP headers, like so: Header note X-Userid userid Header unset X-Userid LogFormat "%h %l %{userid}n %t \"%r\" %>s ...
-1
votes
2answers
91 views

Mysqld.bin and php-fpm eating up all my CPU

mysqld.bin and php-fpm are eating up all my CPU. Here is the output of top run 10 times: https://gist.github.com/two7sclash/5081188dd00e8fc6bfcb I've got plenty of memory and CPU for the load ...
0
votes
1answer
1k views

504 Gateway timeout / 502 Bad gateway after installing php curl - server nginx

I have (well had) a working server with nginx on board. A server (dedicated) was only used to host a drupal site. Recently we decided to host also a magento store on it and started preparation. Since ...
0
votes
1answer
252 views

Differences and dis/advanages between: Fast-CGI, CGI, Mod-PHP, SuPHP, PHP-FPM

There are few different php "wrappers"(?). What are differences between them? Tried to google some, but cant seem to find informations. (mod-php is not googleable). Why might I choose one over ...
0
votes
2answers
391 views

PHP file downloaded instead of executed with nginx try_files

I'm using Ubuntu 14.10, nginx 1.6.2, php 5.5.12. I have a site set up like this: server { root /usr/share/nginx/www/oliviataussig; index index.php; server_name oliviataussig.com ...