Questions tagged [PHP-FPM] (339)

2
answers

nginx + php-fpm + freebsd. the problem

Collected from the ports of nginx and php5 with php-fpm Created a vhost for nginx server {<br> server_name site1;<br> listen 80;<br> access_log /server/logs/nginx/site1.access.log;<br> error_log /server/logs/nginx/site1.error.log;<br> <br / > location ~ \.php$ {<br> location 1...
Lyda_Parker62 asked October 14th 19 at 12:04
0
answer

Debugging netbeans+xdebug+fpm+nginx = 502 error?

Decided to configure debuging in netbeans using xdebug. All set up, but after 30 seconds, nginx gives 502 error. Changed all possible settings and php: max_execution_time and nginx: client_body_timeout, client_header_timeout, timeout, resolver_timeout, keepalive_timeout Not helps :(UPD. I found a solution. It is sufficient...
erica asked October 14th 19 at 11:23
3
answers

Hung php-fpm

environment: Debian Lenny, nginx, php-fpm (VDS: 720 MHz/384 Mb/12 Gb) php often hangs with error in logs: [pool www] server reached max_children setting(50), consaider raising it helps only restart php, captain obvious tells to do what is asked, i.e. to increase the number of childrenof, but actually there are two questio...
Luisa.Hoppe asked October 10th 19 at 15:06
1
answer

Not running php5-fpm php-apc on ubuntu 10.10?

Have postavil packages php5-fpm and php-apc from the official repository ubuntu 10.10 configured apc:/etc/php5/conf.d/apc.iniextension=apc.so<br> apc.enabled=1<br> apc.shm_size=128M After restarting php5-fpm on the website error:Fatal error: Call to undefined function apc_exists() in /var/www/.../application/mod...
Jazmyn_Walsh asked October 10th 19 at 06:14
1
answer

Php-fpm (Ubuntu 10.04) + eAcceleror — unable to make friends?

The problem is the following, there is a system of Ubuntu 10.04, php-fpm (for this guide www.howtoforge.com/installing-nginx-with-php-5.3-a...) and nginx. I want to install eAccelerator 0.9.6.1. After Assembly eAccelerator from source phpize<br> ./configure --enable-eaccelerator=shared<br> make<br> make in...
trevion.Howell asked October 10th 19 at 06:11
1
answer

To set permissions for php5-fpm?

Almost all in the title. There are upstream fastcgi to php5-fpm running user www-someone. You need to change the umask to him. Tried: to put a command in ~/.profile, naturally not helps.
Erik_Muller76 asked October 10th 19 at 06:09
1
answer

php-fpm + nginx source highlight

Is it possible to configure nginx syntax highlighting of php files (in the Apache it includes the assignment of a handler for the mime type) specify the directory with the data — scripts should not be searched, but the highlighting hunting to do, not just as text to show
haskell23 asked October 10th 19 at 04:31
5
answers

nginx + php-fpm

I read a lot of articles that advised to use a unix socket in nginx + php-fpm. Then came across this article: I Decided to check what is better. For our tests we decided to use ab and the two files that nginx will give: index.html standard: It Works! phpinfo.php content: Have: Debian 6.0 with latest service packs installe...
ramiro_Feeney asked October 10th 19 at 01:31
5
answers

Freebsd + php-fpm

What do you say to this bunch? Really it works faster than linux + php-fpm?
Sibyl_Mayer asked October 9th 19 at 19:41
4
answers

How to migrate from apache to php_fpm?

Server Debian6 64bit, socket ISPManager. On the server turns a dozen sites, nearly all of them in symfony. All sites use php+mysql+apache. I would like to get rid of apache in favor of php_fpm. How to do it? What to include? What are the possible negative consequences?
Corene_Runolfsson asked October 8th 19 at 06:37