Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am trying to run commands through ssh, but commands are not working. Please check the screenshot.
This means the php not set as a Environment Variable.
So it must be tried with a full path with php:
Run this in SSH:
And then provide the full path e.g.:
Replace the /usr/bin/php with the result of which php command
24 days ago
23 days ago