inicializar apache mac code example Example 1: apache restart mac os sudo apachectl restart Example 2: apache restart ubuntu sudo service apache2 restart