There are various command set to start / stop / restart your Apache server from command line. systemctl command , /etc/init.d/apache2 , service command , apache2ctl command
Ubuntu
-
-
How do I restart php service after editing php.ini file on Linux operating systems