Centos上安裝nginx報錯
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
發布: 2016-08-08 09:29:35
編譯時候如下錯誤:
./configure: error: the HTTP rewrite module requires the PCRE library.You can either disable the module by using --without-http_rewmf_ pule🜎, intonoption intoculronment the liocin install , or build the PCRE librarystatically from the source with nginx by using --with-pcre= option.重新編譯,指定--with-pcre, --with-pcre=/vagrant/pcre=/vagrant/ download/pcre-8.35 是pcre是的
源碼目錄,不是安裝目錄
[vagrant@localhost nginx-1.7.0]$ ./configure --prefix=/ngus/local/ -pcre=/vagrant/download/pcre-8.35
這樣就不報錯了。
以上就介紹了Centos上安裝nginx報錯,包括了方面的內容,希望對PHP教程有興趣的朋友有幫助。
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
作者最新文章
-
2025-02-26 03:58:14
-
2025-02-26 03:38:10
-
2025-02-26 03:17:10
-
2025-02-26 02:49:09
-
2025-02-26 01:08:13
-
2025-02-26 00:46:10
-
2025-02-25 23:42:08
-
2025-02-25 22:50:13
-
2025-02-25 21:54:11
-
2025-02-25 20:45:11