VPS侦探论坛

 找回密码
 注册
查看: 2307|回复: 1

求助大佬,php定时任务报错

[复制链接]
发表于 2021-12-27 19:33:50 | 显示全部楼层 |阅读模式

环境
lnmp php7.4

执行语句
php /usr/local/php/bin/php /home/www/feito/xcat
报错

PHP Warning:  Unexpected character in input:  '' (ASCII=1) state=0 in /usr/local/php/bin/php on line 1064
PHP Warning:  Unexpected character in input:  ' in /usr/local/php/bin/php on line 1064
PHP Warning:  Unexpected character in input:  ' in /usr/local/php/bin/php on line 1064
PHP Warning:  Unexpected character in input:  ' in /usr/local/php/bin/php on line 1064
PHP Warning:  Unexpected character in input:  ' in /usr/local/php/bin/php on line 1064
PHP Warning:  Unexpected character in input:  ' (ASCII=8) state=0 in /usr/local/php/bin/php on line 1064
PHP Warning:  Unexpected character in input:  ' in /usr/local/php/bin/php on line 1064
PHP Warning:  Unexpected character in input:  ' in /usr/local/php/bin/php on line 1064
PHP Warning:  Unexpected character in input:  ' in /usr/local/php/bin/php on line 1064
PHP Warning:  Unexpected character in input:  ' in /usr/local/php/bin/php on line 1064
PHP Warning:  Unexpected character in input:  ' in /usr/local/php/bin/php on line 1064
PHP Warning:  Unexpected character in input:  ' in /usr/local/php/bin/php on line 1064
PHP Warning:  Unexpected character in input:  ' in /usr/local/php/bin/php on line 1064
PHP Warning:  Unexpected character in input:  ' in /usr/local/php/bin/php on line 1064
PHP Parse error:  syntax error, unexpected '=' in /usr/local/php/bin/php on line 1064

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2021-12-28 09:02:23 | 显示全部楼层


文件编码或代码有问题吧
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-6 07:15 , Processed in 0.025551 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表