Restart httpd after changes in the httpd.conf

后端 未结 3 979
耶瑟儿~
耶瑟儿~ 2021-02-03 17:55

Do I need to restart httpd after changes in the httpd.conf file for changes to take effect?

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-03 18:41

    Yes you need to restart the server by

    sudo service httpd restart
    

    You can check errors in your config files by

    apachectl -t
    

    Changes may take some time to reflect.

提交回复
热议问题