Hi,
Not sure where to put this thread that is why I am posting here.
Here’s my problem, i want to restart apache service using a php file or via Web. I know I can restart it using SSH but I am wondering how to restart the apache service using PHP or via WEB
I am using the very simple command below and it is not working
<?php
shell_exec (‘service apache2 restart’);
?>
Thanks in advance
NAME=“openSUSE Leap”
VERSION=“42.3”