View Single Post
  #2  
Old 7th April 2013, 19:43
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

I have solved this way:

cd into /etc/php5/fpm/pool.d/

than cat file relative to hosting, my user is web1010 so cat web1010.conf
Code:
grep listen /etc/php5/fpm/pool.d/web1010.conf 
listen = 127.0.0.1:10019
listen.allowed_clients = 127.0.0.1
ok, then php-fpm is listening on port 10019 for web1010.
Then I add this piece of conf that i found using grep

Code:
        location ~ \.php$ {
            try_files $uri =404;
            include /etc/nginx/fastcgi_params;
            fastcgi_pass 127.0.0.1:10019;
            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_param PATH_INFO $fastcgi_script_name;
        }
now I know what to do every time I change something, I the meantime maybe the issue will be analyzed, should I file a bug?
Reply With Quote