Ubuntu12.04宝塔面板安装NGINX报错缺少GD库环境依赖包

2023-12-26 10阅读
进行安装(&M)

Ubuntu12.04宝塔面板安装NGINX报错缺少GD库环境依赖包

解决方法:

Ubuntu12.04宝塔面板安装NGINX报错缺少GD库环境依赖包

1个、安装GD库:

Sudo apt-get安装libgd2-xpm-dev

2、重新编译安装ngix:

./CONFIGURE--prefix=/usr/local/nginx--with--http_stub_status_MODULE--with-http_sl_模块--with-http_gzip_静态模块--with-http_realip_模块--with-http_Sub_模块--with-http_flv_模块--with-http_mp4模块--with-http_Image_Filter_MODULE--with-http_添加模块--with-http_dav_模块--with-http_Geoip_模块--with--http_ganip_模块--with-http_Ranic_index_模块--with-http_Secure_link_模块--with-http_degrading_模块--with-http_存根状态模块--with-http_perl_模块--with-http_xslt模块--with-http_auth_请求模块--with-mail--with-mail_ssl_模块--with-pcre-with-zlib--with-google_perTools_模块--with-DEBUG--WITH-libatics--with-libatomy_ops--with-openssl--with-cc-opt=‘-O2-g-tube-wall-wp,-D_FORTIFY_SOURCE=2-fEXCEPTIONS-fSTACK-PROTECTOR--param=ssp-Buffer-Size=4-m64-mtune=Generic‘--with-ld-opt=’-wl,-E‘--with-gd

3、重新安装ngix:

进行安装(&M)

文章版权声明:除非注明,否则均为游侠云资讯原创文章,转载或复制请以超链接形式并注明出处。

目录[+]