i have tried to set up a LEMP server on debian5.The nginx works fine. Html files could be opened. But when i try to Deploy Perl and Conventional CGI Scripts as the libry told.I built '/usr/bin/fastcgi-wrapper.pl ' and '/etc/init.d/perl-fastcgi'. when i excute '/etc/init.d/perl-fastcgi start',it won't work.
errors are :
Code:
maoVPS:~# /etc/init.d/perl-fastcgi start
sudo: unable to resolve host maoVPS
/usr/bin/fastcgi-wrapper.pl: line 4: use: command not found
/usr/bin/fastcgi-wrapper.pl: line 5: use: command not found
/usr/bin/fastcgi-wrapper.pl: line 6: syntax error near unexpected token `('
/usr/bin/fastcgi-wrapper.pl: line 6: `use POSIX qw(setsid);'
help me ,pls