laravel5.5中遇到的错误

laravel5.5 php7

报错

1
2
[Dotenv\Exception\InvalidFileException]
Dotenv values containing spaces must be surrounded by quotes.

解决方法:在.env文件中,中文和空格都用引号包起来

1
Parse error: syntax error, unexpected '?' in /Users/liujia/Sites/zhongtaihexin/api.ics.com/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 233
坚持原创技术分享,您的支持将鼓励我继续创作!