Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu May 14, 2015 7:22 am 
Offline
Newbie

Joined: Wed May 13, 2015 3:04 am
Posts: 2
I am following this tutorial: https://linode.com/docs/websites/nginx/nginx-and-phpfastcgi-on-ubuntu-12-04-lts-precise-pangolin

I have installed the following packages:

Code:
apt-get install nginx php5-cli php5-cgi spawn-fcgi psmisc

Despite installing PHP FastCGI, I do not have the following file on my server to use in my UNIX socket configuration:

Code:
fastcgi_pass unix:/var/run/php-fastcgi/php-fastcgi.socket;

I have used the find command on the entire system, and this file definitely does not exist.

How can I create/get this file? I have literally searched all across the internet, and nothing works.


Top
   
PostPosted: Thu May 14, 2015 9:43 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
What are the contents of
Code:
/usr/bin/php-fastcgi
and output of
Code:
/etc/init.d/php-fastcgi status

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Thu May 14, 2015 9:45 am 
Offline
Senior Newbie

Joined: Fri Jan 03, 2014 6:21 pm
Posts: 8
You need to configure your FPM pool, in particular the "listen" directive:
=====
; The address on which to accept FastCGI requests.
; Valid syntaxes are:
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on
; a specific port;
; 'port' - to listen on a TCP socket to all addresses on a
; specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
=====

http://php.net/manual/en/install.fpm.configuration.php

robert


Top
   
PostPosted: Thu May 14, 2015 10:01 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
robertcope wrote:
You need to configure your FPM pool, in particular the "listen" directive:
=====
; The address on which to accept FastCGI requests.
; Valid syntaxes are:
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on
; a specific port;
; 'port' - to listen on a TCP socket to all addresses on a
; specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
=====

http://php.net/manual/en/install.fpm.configuration.php

robert


They're not using fpm so no they don't.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Thu May 14, 2015 6:28 pm 
Offline
Senior Member

Joined: Fri Feb 13, 2015 8:12 pm
Posts: 101
Ok, he's not using php-fpm, but why not?

It's the recommended way to run PHP these days.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group