HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Nginx on Fedora 11 (http://www.howtoforge.com/forums/showthread.php?t=39818)

Nammut 2nd October 2009 13:35

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?

falko 3rd October 2009 16:35

Did you see any errors when you installed PHP?
What's the output of
Code:

updatedb
locate php.ini

?


All times are GMT +2. The time now is 10:49.

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