如何部署Symfony应用程序?Symfony2



专家:

当我试图在我的VPS:中运行Symfony的应用程序时,我收到了错误消息

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 'SymfonyComponentDebugExceptionFatalErrorException' 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 'SymfonyComponentDependencyInjectionExceptionServiceCircularReferenceException' 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): SymfonyComponentDependencyInjectionContainer->get('ps_pdf.listener') #1 /home/mgdatos/public_html/nival7/app/cache/prod/classes.php(2338): SymfonyComponentEventDispatcherContainerAwareEventDispatcher->lazyLoad('kernel.controll...') #2 /home/mgdatos/public_html/nival7/app/bootstrap.php.cache(3091): SymfonyComponentEventDispatcherContainerAwa in /home/mgdatos/public_html/nival7/app/bootstrap.php.cache on line 2114

你能给我一个线索吗?

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

最新更新