主要是因为出现语法错误
Error Output: PHP Parse error: syntax error, unexpected T_STRING in /alidata/www/wap.y1s.cn/artisan on line 46
主要是因为php的版本太低,不支持命名空间
修改linux默认的php版本
/etc/profile
echo 'export PATH=$PATH:/xxxx/bin/php' >> /etc/profile
source /etc/profile
另描述一下laravel的一个错误
vendor/symfony/security/Symfony/Component/Security/Core/Util/SecureRandom.php):
主要是依赖包没有更新