loading nginx on 64bit os

Martin Minka martin.minka at gmail.com
Fri Jan 18 20:42:38 MSK 2008


hi,
I am using nginx on 64 and 32 bit Centos 4.6.

This works for me:

NGINX_PATH=/opt/nginx
if [ "$SERVER_HWTYPE"="x86_64" ]; then
    MD5_PATH="/usr/lib64"
else
    MD5_PATH="/usr/lib"
fi
yum -y install pcre pcre-devel openssl-devel
./configure \
--prefix=$NGINX_PATH \
--with-http_stub_status_module \
--without-http_charset_module \
--without-http_gzip_module \
--without-http_ssi_module \
--without-http_userid_module \
--without-http_geo_module \
--without-http_map_module \
--without-http_referer_module \
--without-http_memcached_module \
--without-http_browser_module \
--without-mail_pop3_module \
--without-mail_imap_module \
--without-mail_smtp_module \
--with-http_ssl_module \
--with-md5=$MD5_PATH
make
make install

Sincerely,
Martin Minka

Stefanita rares Dumitrescu wrote:
> hi,
>
> i have a problem here. in php, apache i am able to define the libdir for
> my 64bit centos.
>
> nginx doesn't have this configuration option. it just hit me. i am
> trying nginx 0.6.25.
>
> if anyone got it to work on 64bit linux based os, please give me the
> hint i need to get the show rolling.
>   





More information about the nginx mailing list