Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
apache2 と mod_php のセットアップで apache2 を再起動する必要がある場合のシナリオを教えてもらえますか? コードをデプロイするたびに apache2 を再起動する必要がありますか?
私はここが初めてで、いつ apache2 を再起動するかについて混乱しています。
Apache サーバーを再起動する必要があるのは、conf ファイルに変更を加えるか、何らかの方法でサーバー構成を変更する場合のみです。Web ディレクトリで作業している間は、Apache を再起動する必要はありません。また、.htaccess を使用して Apache の再起動をさらに回避できることも覚えておいてください。
エレメント