Centos上安装nginx报错
程序员文章站
2022-05-31 11:27:25
...
编译时候如下错误:./configure: error: the HTTP rewrite module requires the PCRE library.You can either disable the module by using --without-http_rewrite_moduleoption, or install the PCRE library into the system, or build the PCRE librarystatically from the source with nginx by using --with-pcre= option.
重新编译,指定 --with-pcre, 其中 --with-pcre=/vagrant/download/pcre-8.35 是pcre是的源码目录,不是安装目录
下一篇: 深入PHP面向对象、模式与实践
推荐阅读
-
centos7上编译安装php7以php-fpm方式连接apache
-
centos7上mysql8.0rpm方式安装教程图解
-
Centos7通过yum跟源码编译安装Nginx
-
Centos7下nginx的安装与配置
-
CentOS6.5下安装JDK1.7+MYSQL5.5+TOMCAT7+nginx1.7.5环境安装文档
-
CentOS7 下nginx与PHP的安装与配置
-
CentOS安装pillow报错的解决方法
-
CentOS 7 离线环境安装nginx时报错:./configure: error: C compiler cc is not found
-
centos7系统下nginx安装并配置开机自启动操作
-
CentOS下编译安装nginx及配置缩略图插件的方法教程