View Single Post
Old 7th April 2013, 17:48
maumar maumar is offline
Senior Member
Join Date: May 2009
Location: San Costanzo (PU - Italy)
Posts: 137
Thanks: 8
Thanked 11 Times in 11 Posts
Send a message via MSN to maumar Send a message via Skype™ to maumar
Default wheezy nginx php-fpm 3.0.5 upgrade

i have a wheezy with nginx and php-fpm, fastcgi etc etc.
One week ago I upgraded to and sites were working fine.
Now I have changed something like quota for 2 sites and that 2 sites stop working.

Question 1:
What I note is that on combo box of php configuration (on panel) there is only php-fpm (not fast-cgi anymore), is it ok? I can't select fast-cgi anymore

Question 2.
on vhost nginx files (of modified sites) there is still configured php with cgi,
there is no php-fpm configuration; is that correct?

i am very confused

i have tried to reconfigure manually adding the piece of configuration missing but still it does not work.

this is the piece of vhost configuration that (imho) should not be there

        location /cgi-bin/ {
            try_files $uri =404;
            include /etc/nginx/fastcgi_params;
            root /var/www/clients/client34/web1010;
            gzip off;
            fastcgi_pass  unix:/var/run/fcgiwrap.socket;
            fastcgi_index index.cgi;
            fastcgi_param SCRIPT_FILENAME  $document_root$fastcgi_script_name;

this is the error legged:

2013/04/07 13:06:42 [error] 10075#0: *11 access forbidden by rule, client:, server:, request: "GET / HTTP/1.1", host: ""
Then, we have tried to create a new site on that server. This way, I couldcheck how it configures sietes with php-fpm.

Sadly, very sadly, there is no php-fpm on vhost file of newly created site. Look:

grep fpm
root@web4: /etc/nginx/sites-available #
I have ither servers with debian wheezy and nginx, all coming from and upgraded to
I am very worried, I suspect, I am almost sure that all of them are working only b/c I have not touch anything.

I am very very worried. What can i do, now?

Last edited by maumar; 7th April 2013 at 17:55.
Reply With Quote
Sponsored Links