i want to exec() function to start stop and restart server

Pinakin Shobhana6 years ago

it is possible in traccar for server start stop and restart using php exec() function ?

Pinakin Shobhana6 years ago

i have use this but do not work :

exec("sudo service traccar restart");
exec("sudo systemctl restart traccar.service");