Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nginx + perl проблемы
On Sun, 2008-05-11 at 02:52 +0300, Василишин Андрей wrote:
> Для обработки перловых скриптов запустил mini-httpd
> Конфиг нгинкса:
> *location / {
> index index.php index.htm index.html;
> proxy_pass http://127.0.0.1:8089/cgi-bin;
> *При тестировании конфига выдает такое:
> > /etc/init.d/nginx configtest
> * Checking nginx' configuration ...
> Perl lib version (v5.6.1) doesn't match executable version (v5.8.8) at
> /usr/lib/perl5/5.8.8/Config.pm line 21.
> Compilation failed in require at /usr/lib/perl5/5.8.8/DynaLoader.pm line 24.
> BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/DynaLoader.pm
> line 24.
> Compilation failed in require at /usr/lib/perl5/5.8.8/XSLoader.pm line 99.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
> 2008/05/11 01:49:46 [alert] 2643#0: perl_parse() failed: 9
> 2008/05/11 01:49:46 [emerg] 2643#0: the configuration file
> /etc/nginx/nginx.conf test failed
> * failed, please correct errors above
>
> В чем проблема, куда копать?
>
Копать в сторону upgrade libperl до версии 5.8.8 или downgrade perl до
5.6.1.
--
Best regards,
Alexey.
|