I want to build nginx according to the configuration file itself. I want to add modules ngx_speed, but when run ./build nginx, I get an error as follows:
And when I use the command service nginx restart then get the following error:
The command I use is:
My configuration file:
Please help me fix this error. Sorry, I'm not so good at English.
Code:
Restarting nginx.
Starting nginx: /bin/bash: line 1: 10499 Floating point exception/usr/sbin/nginx -c /etc/nginx/nginx.conf
[FAILED]
And when I use the command service nginx restart then get the following error:
Code:
/etc/init.d/nginx: line 70: 11169 Floating point exception$nginx -t -c $NGINX_CONF_FILE
The command I use is:
Code:
[root@dev custombuild]# ./build used_configs
Nginx configuration file: /usr/local/directadmin/custombuild/custom/nginx/configure.nginx
PHP (default) php.ini file: /usr/local/php56/lib/php.ini
PHP (default) configuration file: /usr/local/directadmin/custombuild/configure/fpm/configure.php56
PureFTPD configuration file: /usr/local/directadmin/custombuild/configure/pureftpd/configure.pureftpd
Dovecot configuration file: /usr/local/directadmin/custombuild/configure/dovecot/configure.dovecot
Code:
./build nginx
My configuration file:
Code:
#!/bin/sh
./configure \
"--user=nginx" \
"--group=nginx" \
"--prefix=/usr" \
"--with-ipv6" \
"--with-http_ssl_module" \
"--with-http_realip_module" \
"--with-http_stub_status_module" \
"--with-file-aio" \
"--with-pcre" \
"--with-http_sub_module" \
"--with-http_perl_module" \
"--with-http_gzip_static_module" \
"--add-module=../ngx_cache_purge-2.3" \
"--with-debug" \
"--with-pcre=/root/setup/pcre-8.39" \
"--add-module=/usr/modules/ngx_pagespeed-release-1.9.32.2-beta" \
"--with-zlib=" \
"--with-cc-opt='-D FD_SETSIZE=32768'"