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

PHP5-FPM Slow Execution on Ubuntu 14.04 (EC2 micro server)

I have a cluster of EC2 servers set up and just one is behaving very strangely. It's a t1.micro server running Ubuntu 14.04. Nginx, MySQL, and php5-fpm are installed. I've concluded that nginx and ...
0
votes
1answer
86 views

php-fpm/nginx giving scripts wrong path info

I use an nginx webserver and I've been trying to stop a problem where sites are given the wrong $_SERVER["PHP_SELF"] variable. This breaks some scripts. The problem seems to be that nginx is giving ...
1
vote
1answer
63 views

NGINX and PHP FPM - general setup and performance issues using open_basedir

I want to configure an NGINX server, which is able to host multiple websites, which are seperated from each other, so vhosta can't access files from vhostb. I installed a fresh Debian 7.5 server and ...
0
votes
1answer
511 views

Apache fast-cgi and php-fpm on Ubuntu 14.04 - Run PHP File as the owner

I am trying to setup FastCGI and PHP-FPM so that a php file can be executed as the owner of the file. I am trying to replace SuPHP with FastCGI and fpm. Earlier, I had folders with different owners ...
0
votes
0answers
22 views

ps wchan column kernel functions

customerI have a situation were php-fpm stops processing requests, and when I do a ps there are over 200 php-fpm processes in a sig_something_wait. What I am looking for is good resource that lists ...
0
votes
0answers
28 views

How to set up Apache with PHP-FPM and Indexes

I have an apache2 set up with php-fpm serving php files. However because the DirectoryIndex contains an index.php and php-fpm is enabled with ProxyPass: ProxyPassMatch ^/(.*\.php(/.*)?)$ whenever ...
0
votes
0answers
27 views

APCu Fragmented sectors unrecoverable

I currently have APCu (v4.0.6) running with nginx + php-fpm (v5.5.16) and it's creating a scenario where the fragmented area keeps on growing and is not naturally recovered by APCu. Eventually, the ...
0
votes
3answers
60 views

Nginx - Work with multiple codeigniter installation

I have a Nginx server (1.6), with PHP-FPM on my local server. I have multiple webapps in my "/var/www/" folder, like site01, site02... My applications use CodeIgniter. I want to have ...
0
votes
1answer
39 views

Server is not responding when single connection is blocked

I'm not sure how to properly specify this problem, I'm not really a server expert. I will be glad to provide additional data on demand. I have a PHP web-application running on Ubuntu Server with ...
-2
votes
2answers
134 views

“File not found.” for clean URLS [closed]

I've installed the nginx + php-fpm + mysql stack in my Mac using homebrew. MacOsX: 10.9.2 Nginx Version: 1.6.1 Document Root: /Users/raj/Sites/ Project Dir: /Users/raj/Sites/projects/newproject Url: ...
1
vote
0answers
66 views

Apache + Php-FPM + APC : mode_deflate not compressing HTML output

I have prepared a server to run a Magento instance with: Apache + Php-FPM + APC The problem I have is that Apache is not compressing the HTML output from the Magento PHP scripts. In my .htaccess I ...
0
votes
1answer
41 views

nginx php file being downloaded in second identical case

server { listen 80; server_name example.com; root /srv/www/example.com; access_log /srv/www/example.com/logs/access.log; error_log /srv/www/example.com/logs/error.log; ...
0
votes
0answers
30 views

Huge request duration value for a particular php script

We are facing issues with a php-fpm server that spawns too many children. This morning, I set up php-fpm's status page, and got an interesting piece of information : among all the scripts that are ...
0
votes
0answers
47 views

No Logged in php5-fpm.log File

I'm using ubuntu 14.04 and by default, php5-fpm.log is enabled under /etc/php5/fpm/php-fpm.conf. But I don't see any logged specially warnings like the following: WARNING: [pool web8] child 76743, ...
0
votes
1answer
96 views

How do one run PHP-FPM on subdomain?

I run Apache 2.4 and PHP-FPM via ProxyPassmatch in httpd.conf, not vhost (for what it's worth): ProxyPassMatch ^/(.*\.php)$ unix:/var/run/php-fpm.sock|fcgi://127.0.0.1/home/user/www I wanted to ...
0
votes
2answers
65 views

Php runs on server, but not command line: “libssl.so.10: no version information available”

php is running on my server, though I'm unable to get it to run command line. I'm running this file: <?php echo "done"; ?> using this command: php test.php When I do, I get this error: ...
0
votes
1answer
88 views

Apache 2.2(mod_event) + php-fpm + apc + fastcgi Max Clients Reached

I'm currently running apache2.2 with mod_event, php-fpm and apc on Debian Wheezy. I've hosting 3 normal websites and 1 really shitty website, which has really bad code and needs sometimes 2 minutes ...
2
votes
1answer
77 views

Is the server still vulnerable to attack if we don't turn off cgi.fix_pathinfo?

The /etc/nginx/sites-available/default file that comes with nginx installation has the following content: # You may add here your # server { # ... # } # statements for each of your virtual hosts to ...
0
votes
0answers
47 views

LIVE Video Streaming with Nginx + PHP-FPM / Process Timeout

I have a live video streaming in my server using nginx + php. the php file reas a live streaming and it directly sends it to the client. I have only one problem. The problem is that i want each ...
0
votes
0answers
90 views

nGinx + PHP-FPM On Demand Processes

PHP Version PHP 5.5.16-1~dotdeb.1 (cli) (built: Aug 22 2014 14:18:50) Nginx Version nginx version: nginx/1.6.1 OS Version: Debian GNU/Linux 7 PHP-FPM Pool [www] user = www-data group = ...
1
vote
0answers
65 views

How does PHP5-FPM send errors to nginx?

I've been experimenting a bit with error logging in php-fpm and nginx since I couldn't find any good explanation on the web. Most guides said I should change catch_workers_output to yes if I want to ...
1
vote
0answers
65 views

Requests are never queued after pm.max_children with Nginx and PHP-FPM

As soon as a pool reached pm.max_children, Nginx starts timing out when trying to send new requests to PHP-FPM. "max listen queue" is always 0 in the php-status page. PHP-FPM 5.5.16 Nginx 1.6.1 ...
0
votes
1answer
110 views

Nothing is written in php5-fpm.log

I have two servers which is Ubuntu 12.04 and Ubuntu 14.04. When I use Ubuntu 14.04 in my new server and enabled the php-fpm log file found under /etc/php5/fpm/php-fpm.conf that reads as follows: ...
0
votes
0answers
24 views

Two identical VPS hosts with different ways of handling file names

I have CentOS 6.5 32 bit, 512 RAM, running Nginx, PHP-FPM, Mysql on two hosts. One for local dev, running inside a VirtualBox 4.3.12 and the other running online with digital ocean. Both of these ...
0
votes
0answers
75 views

Tunning nginx/php5-fpm : why low memory usage with 800 users?

I did optimize nginx with what I found on the internet My specs are 2 servers load balanced : Intel Xeon E5-1620v2 (4c/8t 3,7 GHz+/3,9 GHz+) 32 Go DDR3 ECC 1600MHz 3x 160Go SSD Intel DC S3500 SATA3 ...
0
votes
0answers
189 views

Enable Soap for PHP 5.5.x on CentOS 6.5

Unfortunately I have to support soap on my server for the Fedex webservice. I recompiled PHP enabling support and it works via CLI but not PHP-fpm. They both point to the same ini file and both show ...
0
votes
1answer
60 views

kohana 3.1 in subdirectory + ubuntu 14.04 + php-fpm + nginx 404 errors

i have an old kohana app that i'm trying to put on my VPS but can't seem to get it working. i've spent hours googling and looking at cached forum answers. i have tried them all and nothing seems to ...
0
votes
1answer
45 views

Cannot login to zabbix web portal

I've managed to install Zabbix22-server on CentOS 6.x along with php-fpm and nginx. Database is MariaDB on remote, DB user's permission is set to only allow my test machine to access. I can view the ...
2
votes
1answer
83 views

PHP Session Storage in Fault Tolerant Memcached Pool

I recently had the opportunity to move a web application from using a Nginx proxy "loadbalancer" to an F5 loadbalancer. Unfortunately during that migration it became clear that the memcached session ...
1
vote
1answer
40 views

What are (if any) possible scenario whereby hacker can find multiple sites hosted in one VPS?

Let me clarify: Say that I have 10 sites hosted in one VPS host. And for some reason, one of these sites gets famous and a hacker wants to know where it is hosted, and how many other sites are hosted ...
1
vote
0answers
73 views

Nginx out of memory, not loading new vhosts?

I'm having an nginx running on debian. Nginx will reload every 2 minutes to fetch newly created vhosts. After a while new vhosts weren't loading anymore, but old vhosts kept on being served by nginx ...
1
vote
1answer
217 views

Apache 2.4/PHP-FPM ProxyPassMatch and access restriction

I've got Apache/PHP setup exactly like this: https://wiki.apache.org/httpd/PHP-FPM It includes the ProxyPassMatch rule as mentioned: ProxyPassMatch ^/(.*\.php)$ ...
0
votes
1answer
440 views

PHPMyAdmin blank page but HTML source is present

I just installed Nginx 1.6.0, MySQL, PHP-FPM 5.5.9 and phpMyAdmin on my Ubuntu 14.04 LTS 64-bit server. When I go to domain.tld/phpmyadmin I end up at a blank page but when I view source, I can see ...
1
vote
1answer
40 views

How to avoid PHP errors during server reboot?

I found a PHP error in my server log that says: [02:09:27 UTC] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No such file or directory' in ...
1
vote
1answer
84 views

Slow loading PHP script makes Cloudflare block connections

I use php-fpm and nginx, I am running a slow script but it's blocking all Cloudflare connections, most likely it's a php-fpm issue but I can't find anything via Google. If I run the php script ...
0
votes
1answer
276 views

Nginx error stating connection refused to PHP-FPM port

Newly create LEMP stack running PHP-FPM on Ubuntu 14.04 x64. Attempting to access some PHP in my webroot. Browser is showing 502 Bad Gateway and Nginx error log is showing the following (my IP and ...
0
votes
2answers
202 views

Setting up nginx(Built from source) with php5-fpm

So am new to nginx. On Ubuntu I installed nginx using "sudo apt-get install nginx" then installed php5-fpm sudo apt get install php5-fpm. I followed the steps at: ...
0
votes
0answers
122 views

Php-Fpm: status URL for all pools

I have an ISPConfig server serving php pages with FPM in ondemand mode. On another server with a single fpm pool I keep daemon monitored using the /status URL and work great. In ISPConfig case there ...
2
votes
1answer
103 views

why is php-fpm running as nobody?

I recently installed php-fpm on my server (CENTOS 6.5 x86_64 standard, WHM 11.44.1 (build 7)) following the instructions here: ...
0
votes
1answer
33 views

Nginx does not have access to centos path

Sorry for the rather confusing title, I am trying to understand this error. I have a php file, inside a folder like site.com/src/app/index.php and this site.com folder is placed in /var/www/html/ in ...
2
votes
2answers
183 views

403 Forbidden when trying to access a folder in document root of nginx

When I access index.php, it works fine. But on localhost/pset7, it gives a 403. Here is the permission log, -rw-r--r--. 1 root root 51 Jul 31 14:21 index.html -rw-r--r--. 1 root ...
0
votes
0answers
142 views

Debian's apache configuration. fcgid or proxy fastcgi + php fpm

I'm trying to figure out, what would be better solution. I have a server with arout 10 vhosts. Now, its configured like in this tutorial: ...
0
votes
0answers
227 views

Magento + Nginx + PHP-FPM (Order Address Edit results in 502 Bad Gateway)

I have a magento on a LEMP stack (Nginx, PHP-FPM and Percona). Every time I click on Edit on the order address, the page is taking a long time to load and then result in 502 Bad Gateway error. ...
-2
votes
1answer
156 views

Blank Page while hosting Ampache (streaming service) with nginx and php-fpm [closed]

I have an nginx vhost miss configuration. Whenever I visit my hosted ampache url I get a blank page. No error is logged either on ampache log, nginx log or php-fpm log. Access is being logged on ...
0
votes
0answers
72 views

Nginx and PHP-FPM Clean URLs

Preface I have spent 40 plus hours trying to create a Nginx configuration setup that holds up to my OCD. I have been told numerous times on IRC that I am too picky and clean urls are very challenging ...
2
votes
2answers
111 views

Directory for PHP 5 FPM socket files is deleted after reboot on Ubuntu Server

I've created a directory to store socket files for PHP 5 FPM: sudo mkdir /var/run/php-fpm. It is owned by root:root as well as core PHP FPM process. When PHP FPM is starting, it creates socket files ...
1
vote
0answers
571 views

Munin dynamic graph zoom (dynazoom) not working (Nginx, PHP-FPM)

Debian 7.5 Nginx/1.6.0 PHP 5.6.0RC2 (fpm-fcgi) (built: Jul 11 2014 08:17:52) Munin v2.0.21-2 I been searching all over the net for a few days for answers to my problem but it seems like no one knows ...
0
votes
0answers
52 views

Debian wheezy TKL (Turnkey Linux) missing php5-fpm conf

I have used a TKL AMI on an EC2 instance to quickly create a NGINX / PHP box. Details of the image are on the Amazon marketplace. It mostly works just as I'd expect it to except for a small caveat - ...
1
vote
0answers
44 views

What causes my server slowdown that “service nginx restart” fixes?

CentOS 6.5, nginx 1.6.0 Sometimes my site becomes really slow for a period of time. If I ignore it for long enough it returns to its normal speedy self. service php-fpm restart doesn't help it. ...
0
votes
0answers
47 views

PHP-FPM showing 34 worker process despite adjusting configuration

I recently asked this question and I got an answer about how I should limit php-fpm from running 34 worker process, considering that I get on average 20 visits for one light website. So, I ...