perl_modules

Maxim Dounin mdounin at mdounin.ru
Tue Jul 24 10:49:43 UTC 2012


Hello!

On Tue, Jul 24, 2012 at 03:56:32AM -0400, dagr wrote:

> I compiled nginx with perl ( --with-http_perl_module ), 
> 
> ............
> checking for perl
>  + perl version: v5.8.8 built for i386-linux-thread-multi
>  + perl interpreter multiplicity found
> ..............................
> 
>  installed it , and then i get 
> 
> 
> [root at host nginx-1.2.2]# nginx -t
> nginx: [emerg] unknown directive "perl_modules" in
> /vps_core/nginx/conf/nginx.conf:9
> nginx: configuration file /vps_core/nginx/conf/nginx.conf test failed
> 
> [root at host nginx-1.2.2]# nginx -V
> nginx version: nginx/1.2.2
> configure arguments: --prefix=/vps_core/nginx   --with-http_perl_module

The "perl_modules" directive is only allowed at http level.  See 
http://nginx.org/r/perl_modules.

Maxim Dounin



More information about the nginx mailing list