解决方法:

是由于nginx高版本的需要使用pcre原文件路径。

解压pcre-7.9.tar.gz

例如解压后位置在

/home/wang/pcre-7.9位置

使用nginx配置的时候

./configure --with-pcre=/home/wang/pcre-7.9 --prefix=/opt/nginx

 

再次编译问题解决。

相关文章:

  • 2021-07-29
  • 2021-07-28
  • 2021-12-29
猜你喜欢
  • 2022-12-23
  • 2022-01-29
  • 2022-01-10
  • 2021-08-19
  • 2022-12-23
  • 2022-01-06
相关资源
相似解决方案