首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何部署Symfony应用程序?Symfony2

如何部署Symfony应用程序?Symfony2
EN

Stack Overflow用户
提问于 2016-10-02 19:42:38
回答 1查看 78关注 0票数 0

专家:

在我的VPS中运行Symfony应用程序时,我有错误消息:

代码语言:javascript
复制
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) in /home/mgdatos/public_html/nival7/vendor/zendframework/zend-cache/src/Storage/AdapterPluginManager.php on line 27

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Parse Error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING)' in /home/mgdatos/public_html/nival7/vendor/zendframework/zend-cache/src/Storage/AdapterPluginManager.php:27 Stack trace: #0 {main} Next exception 'Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException' with message 'Circular reference detected for service "ps_pdf.listener", path: "ps_pdf.listener -> ps_pdf.cache".' in /home/mgdatos/public_html/nival7/app/bootstrap.php.cache:2114 Stack trace: #0 /home/mgdatos/public_html/nival7/app/cache/prod/classes.php(2350): Symfony\Component\DependencyInjection\Container->get('ps_pdf.listener') #1 /home/mgdatos/public_html/nival7/app/cache/prod/classes.php(2338): Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->lazyLoad('kernel.controll...') #2 /home/mgdatos/public_html/nival7/app/bootstrap.php.cache(3091): Symfony\Component\EventDispatcher\ContainerAwa in /home/mgdatos/public_html/nival7/app/bootstrap.php.cache on line 2114

你能给我个提示吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-10-08 00:54:42

谢谢,我不得不升级到5.6 php版本。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39820955

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档