Parse error: syntax error, unexpected end of file in line 1. Overzicht Reageren. Ik probeer een php script in centos cli te laden:. Print detailed error information. useful when running scripts from the command line. sh: line 100: syntax error: unexpected end of file. Usually indicates exactly what it says: An unexpected. sh: line 144: syntax error: unexpected end of file). Nothing seen in fusion. log regarding executing the command. 本文为大家讲解的是linux下执行SHELL脚本错误syntax error: unexpected end of file 的解决方法, 感兴趣的同学参考下。.
su - useraccount $ sh cron. sh: line 29: syntax error: unexpected end of file. The error shows that there is a problem, for example. Because the syntax in the script is correct, the command above will not display any. sh: line 11: syntax error: unexpected end of file. 1: syntax error: unexpected end of file > bash: error importing function. Rex - I think the output of " env" from your login shell would be useful,. This error occurred on a PHP7 system, but the same codebase did not present the error on a PHP5. Full error is: ParseError: syntax.