$ / etc / init.d / httpd start não funciona no Ubuntu, no suporte Debian / Ubuntu listados abaixo e no suporte do CentOS / RHEL serviço httpd restart :
Como iniciar o Apache 2:
sudo service apache2 start
Como parar o Apache 2:
sudo service apache2 stop
Como reiniciar o Apache 2:
sudo service apache2 restart
Como recarregar o Apache 2:
sudo service apache2 reload