HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   HOWTO-Related Questions (
-   -   Nginx on Fedora 11 (

Nammut 2nd October 2009 14:35

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?

falko 3rd October 2009 17:35

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

locate php.ini


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

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