How do I restart Apache on Linux?
How do I restart Apache on Linux? Debian/Ubuntu Linux Specific Commands to Start/Stop/Restart ApacheRestart Apache 2 web server, enter: # /etc/init.d/apache2 restart. $ sudo /etc/init.d/apache2 restart. To stop Apache 2 web server, enter: # /etc/init.d/apache2 stop. To start Apache 2 web server, enter: # /etc/init.d/apache2 start. How do I restart Apache from the command line? 2 AnswersClick the start button and type CMD (if on Windows Vista or later and Apache is installed as a service make sure this is an elevated command prompt)In the command window that appears type cd C:00ampp\apache\bin (the default installation path for Xampp)Then type httpd...