I\'m trying to write some script to check apache status. I did it like this (only part of code):
$stream = ssh2_exec($connection, \'systemctl status h