0
我已建成使用Laravel 4我的网站,它工作在本地主机上正常,但当我在网上的网络服务器承载它,我得到这个错误:Laravel服务器托管错误
Parse error: syntax error, unexpected T_USE, expecting T_FUNCTION in /home/.../public_html/bootstrap/compiled.php on line 3242
我怎样才能摆脱这个错误?
好的,你有没有看过那个文件,它表明有错误? – ajtrichards
是的,我当然发现这行代码:使用MacroableTrait; –
服务器上运行的是哪个版本的php? – MikeWu