View Single Post
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


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
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
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 -p 9000 -u nginx -g nginx -f /usr/bin/php-cgi -P /var/run/
And this is what I get, if I enter the command
[root@r2 ~]# /usr/bin/spawn-fcgi -a -p 9000 -u nginx -g nginx -f /usr/bin/php-cgi -P /var/run/
-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