Problem executing bash file

前端 未结 5 1558
醉话见心
醉话见心 2021-01-26 17:54

HI there!

I\'ve run into some problem while learning to combine .sh files and PHP. I\'ve create a file test.sh and in that file I call a PHP file called test.php.

<
5条回答
  •  独厮守ぢ
    2021-01-26 18:15

    Your $PATH variable may not include '.' - so the shell may not be able to find the command to run.

    As others have said, sh ./file.sh will work...

提交回复
热议问题