Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [php-fpm]

PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

0
votes
1answer
1k views

Php 5.3.3. Access log

I'm using php-fpm. In 5.3.2 when I'm opening phpinfo page in access log I get: ip - - [26/Aug/2010:16:35:32 +0400] "GET /phpinfo.php HTTP/1.1" 200 13322 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; ...
6
votes
4answers
6k views

Nginx + PHP 5.3.3 (with php-fpm) - memory usage?

I recently bought Xen VPS (linode.com) with Debian 5.0 Lenny (i386), 512MB RAM. At the moment I have only three small websites (built with Drupal) with about 600 users per day in total running on this ...
1
vote
1answer
1k views

PHP-FPM very high processors usage

I use a bunch of nginx + php-fpm on a server running Debian Lenny x86_64. Sometimes the PHP-FPM's processes loads all 8 cores at 100% and this load does not fall until to forced restart PHP-FPM. How ...
1
vote
2answers
116 views

Every command i'm entering is returning “Abort”

I'm running FreeBSD and I started an instance of php-fpm. After that, every command I type (except kill and cd) just return "Abort". Last time this happened host said I had a memory leak, probably ...
3
votes
4answers
9k views

Nginx and PHP-FPM on OS X

I've been wanting to try out Nginx with PHP-FPM. I installed Nginx via Macports. I read that PHP 5.3.3 includes PHP-FPM, however, the PHP 5.3.3 configuration on Macports does not enable it. Can ...
20
votes
4answers
47k views

nginx + PHP-FPM = “permission denied” error 13 in nginx log; configuration mistake?

I've got nginx 0.7x + PHP-FPM running under PHP 5.2.10 on one RHEL5 server, but trying to duplicate that setup under the bundled-in PHP-FPM in PHP 5.3.3 on a second server, I'm having some trouble ...
3
votes
3answers
7k views

APC shared memory problems

i have nginx+php-fpm and APC installed on a freebsd server, and i'm experiencing constant problems with php-fpm connected somehow with APC. php-fpm freezes in 'lockf' state (in top) and thus site is ...
1
vote
1answer
4k views

Permission problems, nginx can't access my site

So, I'm having some problems with my permissions. I have a directory named /sites/ and within that directory i have a couple of more directories of all my vhosts. One of them for example is /sites/rb....
1
vote
2answers
11k views

Apache + SuExec + php-fpm - how to set them up?

I wonder if there is a good guide on how to setup Apache + SuExec + php-fpm? I have a server which I am going to use several separate website. So, I need php to be run as site-owner user. As I can see,...
6
votes
1answer
7k views

Nginx + PHP-FPM = “Random” 502 Bad Gateway

I am running Nginx and proxying php requests via FastCGI to PHP-FPM for processing. I will randomly receive 502 Bad Gateway error pages - I can reproduce this issue by clicking around my PHP websites ...
1
vote
1answer
4k views

Identifying bottleneck — Nginx + PHP-FPM + Ubuntu

I have an Ubuntu server setup running PHP-FPM and Nginx -- I did some stress testing, and experienced a substantial slow-down. I used loadImpact with 250 users. I found that during the testing PHP ...
0
votes
2answers
1k views

Error while compiling/installing PHP with FPM for RPM on Centos 5.4 x64

I'm trying to make an RPM with PHP 5.3.1 and PHP-FPM 0.6 for CentOS 5.4. So far it goes quite well, but when rpmbuild gets to the installation phase it fails with the following error: Executing(%...
1
vote
2answers
7k views

PHP-FPM + NGINX: PHP-CGI processes die after a while in idle, then 502 bad gateway and manual restart required

I am currently setting up a VPS (with VPS.NET) which I will be using to host a blog and some other stuff. I've installed nginx, and patched php (5.2.8) with php-fpm. All works great (and extremely ...
6
votes
6answers
408 views

How to keep programs from source up to date?

I'm designing a new server setup for hosting multiple websites. (Shared hosting for my clients over at SliceHost.) I've recently moved away from the traditional LAMP setup and chosen Ubuntu, Nginx, ...