Apache is the HTTP server which is freely available over internet. It is a kind of software or program which is developed to run on Linux/Unix but now it is also work under systems like windows or MAC. Today’s most of the websites hosted under different servers like Linux, Windows, Java etc . But if you are hosted under Apache server and you need to makes changes in httpd.conf file or other configuration file then you have to restart Apache server so the changes may reflect.
If you are thinking how to restart Apache server through command line then don’t you worry here is the way...
To start your Apache server for Linux version 4.x/5.x/6.x or older commands :
## Start ##
## Start command ##
If you are thinking how to restart Apache server through command line then don’t you worry here is the way...
To start your Apache server for Linux version 4.x/5.x/6.x or older commands :
## Start ##
## Stop ##
## Restart ##
To start your Apache server for Linux version Linux version 7.x or newer commands :
## Start command ##
## Stop command ##
## Restart command ##