#1  
Old 2nd October 2009, 13: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
  #2  
Old 3rd October 2009, 16:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Did you see any errors when you installed PHP?
What's the output of
Code:
updatedb
locate php.ini
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Networking two desktop fedora into LAN perfectpol7 Technical 1 27th February 2009 14:04
ISPCOnfig 3 on Fedora -- Having trouble installing anushanw Installation/Configuration 1 4th February 2009 16:51
Replacing Fedora 9 with Kubuntu jandac Installation/Configuration 4 29th July 2008 15:28
virtual users... postfix (fedora 8) mangueJOE HOWTO-Related Questions 0 15th July 2008 11:16
The Perfect Setup - Fedora Core 4 british.assassin Server Operation 9 21st February 2008 17:29


All times are GMT +2. The time now is 20:02.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.