View Single Post
  #1  
Old 2nd October 2009, 14:35
Nammut Nammut is offline
Junior Member
 
Join Date: Oct 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Nginx on Fedora 11

Hi,

I followed the 'Installing Nginx With PHP5 And MySQL Support On Fedora 11' tutorial and after installing PHP5 (step 4) I'm encountering some problems.

It says
Quote:
Then open /etc/php.ini and add the line cgi.fix_pathinfo = 1 right at the end of the file:

vi /etc/php.ini
When I enter this command, it creates a new file. Apparently it didn't exist before I enter this command.

And again
Quote:
To start a PHP FastCGI daemon listening on port 9000 on localhost and running as the user and group nginx, we run the following command:

/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u nginx -g nginx -f /usr/bin/php-cgi -P /var/run/fastcgi-php.pid
And this is what I get, if I enter the command
Quote:
[root@r2 ~]# /usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u nginx -g nginx -f /usr/bin/php-cgi -P /var/run/fastcgi-php.pid
-bash: /usr/bin/spawn-fcgi: No such file or directory
I'm doing this on a new and clean install of the latest Fedora11. I ran yum upgrade before it. What am I doing wrong?
Reply With Quote
Sponsored Links