how to restart php and apache in ubuntu code example
Example 1: apache restart ubuntu
sudo service apache2 restart
Example 2: start apache service
systemctl status apache2
sudo service apache2 restart
systemctl status apache2