Cant load perl module

Azfar Hashmi azfarhashmi at gmail.com
Tue Jun 14 11:24:08 UTC 2016


Thank you. got it working.

On Tue, Jun 14, 2016 at 2:55 PM, Yuriy Medvedev <medvedev.yp at gmail.com>
wrote:

> --with-http_perl_module=dynamic
>
> You must include dynamic module in nginx main config file. Use load_module
>
>
> 2016-06-14 13:34 GMT+03:00 Azfar Hashmi <azfarhashmi at gmail.com>:
>
>> Below is the output of nginx -V
>>
>>
>> nginx version: nginx/1.10.1
>> built with OpenSSL 1.0.1k 8 Jan 2015 (running with OpenSSL 1.0.1t  3 May
>> 2016)
>> TLS SNI support enabled
>> configure arguments:
>> --add-module=/usr/src/builddir/debian/modules/naxsi/naxsi_src
>> --with-cc-opt='-g -O2 -fstack-protector-strong -Wformat
>> -Werror=format-security -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-z,relro
>> -Wl,-z,now' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf
>> --http-log-path=/var/log/nginx/access.log
>> --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock
>> --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules
>> --http-client-body-temp-path=/var/lib/nginx/body
>> --http-fastcgi-temp-path=/var/lib/nginx/fastcgi
>> --http-proxy-temp-path=/var/lib/nginx/proxy
>> --http-scgi-temp-path=/var/lib/nginx/scgi
>> --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit
>> --with-ipv6 --with-http_ssl_module --with-http_stub_status_module
>> --with-http_realip_module --with-http_auth_request_module
>> --with-http_v2_module --with-http_dav_module --with-file-aio --with-threads
>> --with-http_addition_module --with-http_flv_module
>> --with-http_geoip_module=dynamic --with-http_gunzip_module
>> --with-http_gzip_static_module --with-http_image_filter_module=dynamic
>> --with-http_mp4_module --with-http_perl_module=dynamic
>> --with-http_random_index_module --with-http_secure_link_module
>> --with-http_sub_module --with-http_xslt_module=dynamic --with-mail=dynamic
>> --with-mail_ssl_module --with-stream=dynamic --with-stream_ssl_module
>> --add-module=/usr/src/builddir/debian/modules/headers-more-nginx-module
>> --add-dynamic-module=/usr/src/builddir/debian/modules/nginx-auth-pam
>> --add-module=/usr/src/builddir/debian/modules/nginx-cache-purge
>> --add-module=/usr/src/builddir/debian/modules/nginx-dav-ext-module
>> --add-dynamic-module=/usr/src/builddir/debian/modules/nginx-development-kit
>> --add-module=/usr/src/builddir/debian/modules/nginx-echo
>> --add-module=/usr/src/builddir/debian/modules/ngx-fancyindex
>> --add-module=/usr/src/builddir/debian/modules/nginx-push-stream-module
>> --add-dynamic-module=/usr/src/builddir/debian/modules/nginx-lua
>> --add-module=/usr/src/builddir/debian/modules/nginx-upload-progress
>> --add-module=/usr/src/builddir/debian/modules/nginx-upstream-fair
>> --add-module=/usr/src/builddir/debian/modules/ngx_http_substitutions_filter_module
>> --add-module=/usr/src/builddir/debian/modules/nginx-auth-ldap
>> --add-module=/usr/src/builddir/debian/modules/ngx_http_pinba_module
>> --add-module=/usr/src/builddir/debian/modules/ngx_pagespeed
>> --add-module=/usr/src/builddir/debian/modules/nginx-x-rid-header
>> --add-module=/usr/src/builddir/debian/modules/nginx-rtmp-module
>> --with-ld-opt=-lossp-uuid
>>
>>
>> On Tue, Jun 14, 2016 at 2:23 PM, Yuriy Medvedev <medvedev.yp at gmail.com>
>> wrote:
>>
>>> Hi, please show output nginx -V
>>> 14 июня 2016 г. 12:32 пользователь "Azfar Hashmi" <azfarhashmi at gmail.com>
>>> написал:
>>>
>>> Hi,
>>>
>>> I just upgraded nginx to 1.10.1 but I am getting below error.
>>>
>>> nginx: [emerg] unknown directive "perl_modules" in
>>> /etc/nginx/nginx.conf:90
>>>
>>> My package is already compiled with perl (nginx -V), I am on Wheezy and
>>> using dotdeb.
>>>
>>>
>>>
>>> _______________________________________________
>>> nginx mailing list
>>> nginx at nginx.org
>>> http://mailman.nginx.org/mailman/listinfo/nginx
>>>
>>>
>>> _______________________________________________
>>> nginx mailing list
>>> nginx at nginx.org
>>> http://mailman.nginx.org/mailman/listinfo/nginx
>>>
>>
>>
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160614/9d4b0886/attachment.html>


More information about the nginx mailing list