Answer the question
In order to leave comments, you need to log in
How to request status via SSH using PHP?
For example, the Apache2 daemon is running, on Ubuntu 18.04
I install the php-ssh2 library and use it to connect to my own machine.
How can I query the status of a daemon systemctl status apache2
and only determine if it is running or not?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question