VPS侦探论坛

 找回密码
 注册
查看: 3186|回复: 1

nginx编译报错

[复制链接]
发表于 2017-11-6 18:56:41 | 显示全部楼层 |阅读模式

Nginx源码的目录 /usr/local/nginx 下./configure --with-pcre=./pcre-8.39
或者
./auto/configure --with-pcre=../pcre-8.39 --with-openssl=../openssl-1.1.0e --with-zlib=../zlib-1.2.11 --with-http_ssl_module --add-module=../ngx_http_google_filter_module --add-module=../ngx_http_substitutions_filter_module
报错
-bash: ./configure: No such file or directory
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-11-7 18:20:33 | 显示全部楼层


/usr/local/nginx 不是源码目录

要添加模块参考:https://lnmp.org/faq/lnmp1-2-upgrade.html 中的说明
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-25 03:25 , Processed in 0.025032 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表