Hi,
One of my hosting user was unable to execute a command line in laravel through ssh.
command : php artisan make:mail TestEmail
while executing it getting this error message. " bash: php: command not found "
I have searched every where but didn't know how to resolve it ..
(https://img001.prntscr.com/file/img001/UzvOmPjzR7mExHJSCWIxrQ.png)
Depending on your configuration, you may need to call PHP by its full path. Are you using PHP-FPM?
/opt/alt/php-fpm81/usr/bin/php