Start Apache
goto  /usr/local/apache2/bin
type: ./apachectl start
Stop Apache
goto  /usr/local/apache2/bin
type: ./apachectl stop
Check Apache Service Available or Not
ps -ef | grep apache
If apache up, it will show something like this:-
daemon  1599  1589   0 10:52:38 ?           0:00 /usr/local/apache2/bin/httpd -k start
daemon  1600  1589   0 10:52:38 ?           0:00 /usr/local/apache2/bin/httpd -k start
daemon  1598  1589   0 10:52:37 ?           0:00 /usr/local/apache2/bin/httpd -k start
 
No comments:
Post a Comment