1.

How To Stop/start Apache Web Server?

Answer»

You can restart by going to Apache instance LOCATION >> bin folder and execute apachectl script.

./apachectl stop

./apachectl start

You MAY also use script LOCATED in /etc/init.d/. Mostly it will be named either “apache” or “httpd”

/etc/init.d/apache stop

/etc/init.d/apache start

Another procedure WOULD be using services

httpd stop

SERVICE httpd start

You can restart by going to Apache instance location >> bin folder and execute apachectl script.

./apachectl stop

./apachectl start

You may also use script located in /etc/init.d/. Mostly it will be named either “apache” or “httpd”

/etc/init.d/apache stop

/etc/init.d/apache start

Another procedure would be using services

httpd stop

service httpd start



Discussion

No Comment Found