You are not logged in.
Hi,
I am trying to set up Monitorix (it's a normal CGI script, written in Perl). My web server is nginx with php-fpm which is configured as shown in wiki (New method (As of PHP 5.3.3)). How do I configure php-fpm to work with perl cgi scripts?
Waiting for your response.
Offline
php-fpm only works with php. Check out the nginx wiki to see one way of running CGI scripts using a wrapper. http://wiki.nginx.org/SimpleCGI
Offline
Thanks. Which way you recommend more: the mentioned here http://wiki.nginx.org/SimpleCGI or http://library.linode.com/web-servers/n … arch-linux ?
Edit:
I used the latter method and it works flawlessly.
Last edited by michalkx (2011-04-30 14:16:06)
Offline