Laravel hosted user unable to send mail from ssh using php artisan

Started by cloud, February 08, 2023, 08:16:45 PM

Previous topic - Next topic

cloud

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 ..

overseer

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