0
votes
0answers
19 views

What is the difference between proxy_buffer and fastcgi_buffer?

I inherited an nginx config and I'm trying to optimise it for security, speed, and/or maintainability by removing rules/directives which are superfluous or not doing anything. With this in mind, ...
5
votes
1answer
160 views

Is there a limit setting a php_admin_value in php-fpm?

I am trying to set a large value in the configuration of a pool in php-fpm, but at some point it just doesn't start anymore. php_admin_value[disable_functions] = ...
1
vote
1answer
145 views

What is the difference between using upstream and location for php-fpm?

I've been searching around but couldn't find a straight answer, if someone could please clarify this, would be greatly appreciated, thanks! location ~ \.php$ { try_files $uri = 404; ...
0
votes
1answer
34 views

PHP-FPM conf location option when compiling php

I'm compiling PHP from source. I would like to set the location that PHP-FPM looks for it's config file. Apparently this option should be set via the configure option: ...
3
votes
1answer
66 views

cannot restart php5-fpm

I've made some changes in the .ini files and wanted to restart php5-fpm. /etc/init.d/php5-fpm restart Jan 20 14:25:48.171577 [ERROR] bind() for address '/var/lib/php5-fpm/apps.sock' failed: ...
0
votes
1answer
148 views

Cannot execute PHP file from domain name

Server run on Amazon Linux AMI** (similary to redhat) I follow the installation from Install PHP-FPM, Nginx, & MySQL on EC2 with Amazon Linux AMI It's work properly if I call directly from server ...
1
vote
1answer
223 views

php5-fpm configuration pm - (node) Process manager settings nodes in more layman terms

I have the following configuration for php-fpm [www] listen = 127.0.0.1:9000 listen.allowed_clients = 127.0.0.1 user = www-data group = www-data pm = dynamic pm.max_children = 50 pm.start_servers = ...
-1
votes
1answer
197 views

how do i read php5-fpm configuration and how do i optimize my configuration? [closed]

This is my current php5-fpm configuration [www] listen = 127.0.0.1:9000 listen.allowed_clients = 127.0.0.1 user = www-data group = www-data pm = dynamic pm.max_children = 50 pm.start_servers = 25 ...
1
vote
1answer
132 views

Samba share not usable by PHP-FPM?

I have a PHP-FPM and nginx setup that has been working perfectly on Ubuntu Desktop 12.04. The webserver's files are served from a directory called /www, which is set as the root of the server. ...
0
votes
2answers
2k views

Nginx + PHP - No input file specified for 1 server block. Other server block works fine

I am running Ubuntu Desktop 12.04 with nginx 1.2.6. PHP is PHP-FPM 5.4.9. This is the relevant part of my nginx.conf: http { include mime.types; default_type ...
0
votes
1answer
232 views

php5-fpm spike, wrong configuration?

Recently I've uploaded some changes to my server that increases the amount of AJAX calls made to the server. The application "fastness" has decreased a lot. The web server is nginx with php5-fpm ...
2
votes
2answers
1k views

Configuring Nginx & php5-fpm to work with Codeigniter

As I'm trying to make my switch from Apache 2 to Nginx, I faced dozens of problems, and still fixing them. anyway, I'm trying to make them work, but no-luck yet. So I'm asking here looking for ...
0
votes
1answer
1k views

Setting php values in php-fpm confs instead of php.ini

I'd like to set values in php-fpm conf files what are normally set in php.ini. I'm using nginx. I've created the following setting, but I'm not sure if this would work. php_value[memory_limit] = 96M ...
0
votes
1answer
181 views

Configuring nginx and PHP5-FPM

I have a VPS with 1 CPU Core, when I was searching around for some nice documentation on configuring nginx and php5-fpm I constantly came across stuff like "I have a dual core CPU so I will limit this ...
0
votes
1answer
535 views

Nginx serves files under root dir, but not from subdirs

I am running nginx on Ubuntu 11.10 with php-fpm and SELinux. The site is served over https/ssl Content that is directly under any sites root dir is served, but when trying to access a subdirectory ...
0
votes
1answer
71 views

What is the correct location for php5-fpm conf file in Ubuntu and how is it set?

I've got two servers running Ubuntu 10.10 and 10.04. In the 10.04 server, /etc/php5/fpm contains a php5-fpm.conf. In the 10.10 server, /etc/php5/fpm contains a main.conf. I'm trying to automate my ...
1
vote
0answers
254 views

How to optimally configure php-fpm?

I am using php-fpm along with nginx to server a busy drupal sites. I have not tweaked php5-fpm.conf yet. The stability is fantastic, however, I am wondering how to optimally set the parameters to ...