How to Start, Stop and Restart Apache by using the SSH Command?

Apache is a Web server and used to serve the content for the static as well for the dynamic web pages on the World Wide Web, and it is very necessary to restart the Apache when you have made any changes into the php.ini file, The syntax is very

How to Start, Stop and Restart MySQL by using the SSH Command?

Suppose there is any problem or your MySQL has stopped working and you need to restart the MySQL by using the SSH Command for this it you need to connect your server by using the SSH Credentials, Here I assume that you have the full/root access with the sudoer