nextcloud (15.0.2) occ command broken due to missing php on PATH
occ script to manage the nextcloud from the command line has the following shebang:
Checking over SSH,
$PATH is set to:
which php cannot find a
A fix could be to add symlink:
ln -s /usr/bin/php-cli /usr/bin/php.