директива perl_modules

Igor Savchenko dicsydel at gmail.com
Thu Sep 13 15:16:51 MSD 2007


Hello nginx-ru,

в конфиге внутри http {} стоит:

perl_modules /some_path/modules/perl;
perl_require engine.pm;

При старте nginx в логе:

2007/09/13 11:13:00 [emerg] 40879#0: require_pv("ads_engine.pm") failed: "Can't locate engine.pm in @INC (@INC contains: /usr/local/nginx/perl/lib /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval 7) line 1."

получается perl_modules просто игнорируется.

В чем косяк?

---------------------------------
Igor V. Savchenko

http://webta.net

mailto: igor at webta.net
ICQ: 86915046






More information about the nginx-ru mailing list