View Single Post
  #1  
Old 7th April 2013, 16:48
maumar maumar is offline
Senior Member
 
Join Date: May 2009
Location: San Costanzo (PU - Italy)
Posts: 136
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

Hello
i have a wheezy with nginx and php-fpm, fastcgi etc etc.
One week ago I upgraded to 3.0.5.2 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

Code:
        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:

Code:
2013/04/07 13:06:42 [error] 10075#0: *11 access forbidden by rule, client: 87.16.197.63, server: fashiontattoo.it, request: "GET / HTTP/1.1", host: "www.fashiontattoo.it"
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:

Code:
grep fpm 46ikymhds.it.vhost
root@web4: /etc/nginx/sites-available #
I have ither servers with debian wheezy and nginx, all coming from 3.0.4.6 and upgraded to 3.0.5.2.
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 16:55.
Reply With Quote
Sponsored Links