On Mon, Nov 14, 2011 at 1:41 PM, <[email protected]> wrote:
>
>
> "get Cherokee to use its port (which is port 9000 by default)."
>
> This part I do not know where to edit the config.
>
> "Set the "interpreter" in the Cherokee configuration to "false" as it's
> no longer needed (php-fpm handles the spawning)."
>
> Set the Interpreter field to empty? i.e. remove:
>
> /usr/bin/php-cgi -b 127.0.0.1:47990
>
> After making the correct changes above, Graceful restart and done?
>
> Is this a correct way to migrate to php-fpm?


The configuration is on the "Sources" page in Cherokee Admin. Here is a
screenshot of my configuration: http://ss.dan.cx/2011/11/14-20.27.26.png .
php-fpm needs barely any configuration, as most of the hard work (spawning
the processes) is moved out into the php-fpm daemon. All Cherokee needs to
know is the port number to connect to, the rest of the settings can be left
blank.

php-fpm doesn't need the interpreter field set as it handles spawning
itself. However, Cherokee didn't let me make the interpreter blank (shows a
"Cannot be blank" error), so I just set it to "false".






> Thank you all kindly, again.   --Hans
>
> > Stefan
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.18 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> >
> > iEYEAREKAAYFAk7AHy8ACgkQYH1+F2Rqwn0+4gCfUWHUzIjzEEA9vz11jTH9VgUy
> > PAUAnjEasm9YeSLKRQnbebSTtTzqQBOH
> > =Qofi
> > -----END PGP SIGNATURE-----
> > _______________________________________________
> > Cherokee mailing list
> > [email protected]
> > http://lists.octality.com/listinfo/cherokee
>
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to