查看: 3903|评论: 0
个人博客

[网站建设] lnmp1.6升级nignx1.16.0出错解决办法

admin 2020-02-09 21:48 3903 0
[复制链接]

1292

文章

380

评论

1万

积分

管理员

夏墨独周

积分
10100

论坛元老技术达人

QQ
发表于 2020-2-9 21:48:47 | 显示全部评论序号 |阅读模式
错误信息:

./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.

make: *** No rule to make target 'build', needed by 'default'.  Stop.
cp: cannot stat ‘objs/nginx’: No such file or directory
Test nginx configure file...
include/upgrade_nginx.sh: line 58: /usr/local/nginx/sbin/nginx: No such file or directory
upgrade...
make: *** No rule to make target 'upgrade'.  Stop.
======== upgrade nginx completed ======
Program will display Nginx Version......
include/upgrade_nginx.sh: line 65: /usr/local/nginx/sbin/nginx: No such file or directory


解决办法:
centos的话 yum install pcre-devel
debian/ubuntu的话 apt-get install libpcre3-dev
安装成功后再升级
来源:易游模拟器(QQ:207621422),转载请注明出处!
您需要登录后才可以评论 登录 | 立即注册

当前分类积分规则

关闭

站长推荐上一条 /1 下一条

QQ|易游网-易游模拟器 Copyright @2015-2026 ( 浙ICP备15028007号-1 )

© 2026 易游网-易游模拟器 Copyright @2015-2026

快速评论 返回顶部 返回列表