rajub
rajub

Reputation: 320

Nginx php error

I installed the nginx+php+mysql and my phpmyadmin working fine.

I downloaded wordpress and then I tried to run it and got the error:

015/02/04 22:47:06 [error] 21781#0: *45 upstream sent too big header while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /smarter/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "localhost"

I googled and tried everything to change in php5-fpm.sock listen.mode, group, owner everything but still not working.

Please help me to how to solve this critical problem.

Upvotes: 0

Views: 340

Answers (1)

Fury
Fury

Reputation: 107

Did you changed something regarding the buffer size on your nginx configuration?

A kind of "dirty" solution would be to increase the buffer size like (but that may be more an workaround like an real solution). The values are examples.

 http {
    fastcgi_buffers 8 16k;
    fastcgi_buffer_size 32k;
}

Upvotes: 1

Related Questions