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
102 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
425 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
79 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
67 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
133 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
96 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
376 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
503 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
57 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
114 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
2answers
762 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
433 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
1answer
208 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
193 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
40 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
422 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
174 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
299 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
188 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
79 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
244 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
727 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
64 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
53 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
67 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 ...
0
votes
2answers
105 views

How to prevent nginx caching blank pages?

I have nginx 1.4.3 running on a Ubuntu 12.04 machine. I have nginx set up to cache pages (they are database-driven but stay fairly static). I'm using MySQL and PHP-FPM. However, I found that I would ...
0
votes
0answers
121 views

Set disable_functions parameter per vhost

I'm trying to use the disable_functions directive for php with different values for each of my domains. First time a tried with nginx's fastcgi_param PHP_VALUE. It worked well until I had more than ...
1
vote
1answer
303 views

Does using fastcgi_keep_conn in nginx increase performance for php-fpm?

The nginx docs say that keepalive for fastcgi cannot work if the fastcgi_keep_conn is not on. However, I can't find any further details on this. I already have keepalive enabled server-wide. I am ...
2
votes
1answer
179 views

High Mysql Connections

Having a challenge discovering why results are as they are. Perhaps missing something obvious. Sorry this isn't very specific. But if anyone has an pointers on areas to focus on that would be very ...
0
votes
1answer
63 views

nginx + php-fpm + v8js crashing

I have a problem concerning v8js extension for php. I needed to install it on my server (and did) (CentOS 6.5, Nginx 1.0.15, php 5.5.12) but whenever I give such a simple test to it: ...
0
votes
0answers
79 views

Nginx server goes down when php file is executed in command line

We have a production nginx web server with php FPM. We ran a php script which updates a particular field in mysql database and mails some content using php mail function. This php script was executed ...
0
votes
0answers
65 views

Wordpress PHP half works on nginx

under the path there are public files: $/usr/share/nginx/html 50x.html readme.html wp-content wp-mail.php apc.php wp-activate.php wp-cron.php wp-settings.php ...
2
votes
2answers
2k views

Increase PHP-FPM's max upload/post size

I'm running php5-fpm under Nginx on Ubuntu 14.04. I want to increase the max upload size. I have edited my /etc/php5/fpm/php.ini to have the following lines defined as below: upload_max_filesize = ...
1
vote
3answers
626 views

apache 2.4, mod_proxy_fcgi not honouring .htaccess, work around needed

I am using apache 2.4.7 with mod_proxy_fcgi for purpose of passing through php to php-fpm (this will be used for shared hosting environment). The htaccess works fine for non php files, but once it hit ...
0
votes
0answers
102 views

Nginx/PHP-FPM: Returning 404s for CSS and JS

I can't access PHP files placed in sub-directories and my CSS/JS files return a 404 in browser. Yes, I have seen many others experiencing a 404 issue but their fixes don't seem to be my solution. I've ...
3
votes
2answers
401 views

Apache fast-cgi and php-fpm failing to run php file?

I have been trying to switch my server from mod php to fastcgi set up on an apache server running on osx (as a development machine). My problem is that php-fpm doesn't seem to processing the files. ...
2
votes
1answer
163 views

Nginx throws 404 only on php scripts using php-fpm

I've installed a testing server using nginx + php-fpm. I've tried all of the following: Nginx + Php5-fpm not rendering php files nginx + php fpm -> 404 php pages - file not found When accessing ...
0
votes
0answers
87 views

How to correctly recompile PHP?

Using Ubuntu Server 14.04 x64 / PHP 5.5.9-1ubuntu4 (cli) w/ FPM / MySQL InnoDB version 5.5.35 Incredibly frustrated with what was supposed to be a minor issue. Basically, I'm being forced to ...
0
votes
2answers
248 views

Can zend opcode cache and APC cache run together on same server?

I am on a dedicated server - running multiple portals in respective virtual directories. Some of the previously loaded websites are using Zend opcode cache. While my new commerce portal uses an APC ...
0
votes
1answer
94 views

php-fpm and nginx super fast and timeout responses together

I'm having some problem with my server: Ubuntu 12.04 nginx 1.4.6 2GB RAM OpenVZ VPS I increased php-fpm settings as the default one was very low. To something like this: pm.max_children = 48 ...
1
vote
1answer
327 views

nginx 404 instead of 403 for empty directory

I have the following config for my nginx server: server { listen 80 default_server; server_name example.com www.example.com; root /var/www/example.com/web; index index.php ...
-1
votes
2answers
826 views

PHP Warning: Module 'apc' already loaded in Unknown on line 0

I am on a dedicated server with my site hosted in a virtual directory. There are few other sites hosted in different virtual directories. I have APC and APCu installed. When i restart PHP-FPM i get ...
1
vote
0answers
483 views

FastCGI errors: (104)Connection reset by peer, incomplete headers and others

I am writing web application using cPhalcon. The machine on which I am testing is strictly development, so there isn't any traffic from outside. The problem is that when I am trying to do ...
0
votes
2answers
109 views

PHP-FPM and ProxyPass disables the possibility to use FilesMatch?

i'm using PHP-FPM and mod_proxy_fcgi for serving PHP files. The system is blazing fast and works flawlessly except i'm not able to use the FilesMatch directive in Apache. Well that makes sense because ...
-1
votes
1answer
103 views

Installing nginx + php-fpm - got Not found

I install nginx and php-fpm on new machine. But when i open my domain, i got an 404 Not Found. (static files accessible). File: /etc/nginx/sites-available/elfchat.net server { ...
0
votes
0answers
134 views

Nginx + PHP-FPM fastcgi_cache bypass specific custom header?

Hi I am trying to setup Nginx with PHP-FPM and fastcgi_cache and know I can bypass and exclude specific cookies with map $http_cookie $no_cache { default 0; ~cookiename 1; } and then bypass and ...
0
votes
0answers
43 views

is nginx + php5-fpm sufficient for long polling?

On my web application, I need to implement live notifications. I use nginx with php5-fpm. Digging through php5-fpm's configuration, I found out that it has a limit on the number of php scripts that ...
0
votes
1answer
864 views

Updated php5-fpm, can't use socket anymore

Earlier today, I updated packages on one of my servers. One of those packages was an update to php5-fpm, which seems to have broken my ability to utilize unix:/var/run/php5-fpm.sock. Disclaimer: I ...
1
vote
0answers
59 views

php5-fpm doesn't create sockets for pools

I'm going off of section 3.1 of http://www.howtoforge.com/php-fpm-nginx-security-in-shared-hosting-environments-debian-ubuntu . I have created a directory in /var/run which www-data:www-data has ...