ホームページ >バックエンド開発 >PHPチュートリアル >Linux で nginx をインストールする際の一般的なエラー
Linux で nginx をインストールする際の一般的なエラー
エラー: ./configure: エラー: HTTP 書き換えモジュールPCRE ライブラリが必要
解決策:<code>安装pcre-devel解决问题 yum -y install pcre-devel </code>インストール成功後に開始
<code>service nginx start </code>IP アクセス経由でアクセスできないことが見つかりました
<code>#vi /etc/sysconfig/iptables //在倒数第二行加入80端口 -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT //重启iptables #/etc/init.d/iptables restart </code>完了').addClass('事前番号付け').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); }); 上記では、Linux に nginx をインストールする際のよくある間違いを、必要な内容も含めて紹介しています。PHP チュートリアルに興味のある友人に役立つことを願っています。