Zend framework 2 Skeleton App致命错误



我已经通过composer安装了骨架应用程序,当将浏览器指向带有虚拟主机的公用文件夹时,我收到错误:

致命错误:在/var/www/vhosts/ddns.net/subdomains/gamotic/vendor/zendframework/zendfframework/library/Zend/Loader/AutoloaderFactory.php的第91行,未捕获异常"Zend\Loader\exception\InvalidArgumentException",消息为"Autoloader class Zend\Loader\StandardAutoloader must implement Zend\Loader\SplAutoloader"Zend\Loader\StandardAutoloader必须在第91行调用堆栈0.0003 635952 1的/var/www/vhosts/ddns.net/subdomains/gamotic/vendor/zendframework/zendfframework/library/Zend/Loader/AutoloaderFactory.php中实现Zend\Loader\SplAutoloader。{main}()/var/www/vhosts/ddns.net/subdomains/gameotic/public/index.php:0 0.0051 948360 2。Zend\Mvc\Application::init()/var/www/vhosts/ddns.net/sudbdomains/gameotic/public/index.php:17 0.0304 3051872 3。Zend\ModuleManager\ModuleManager->loadModules()/var/www/vhosts/ddns.net/sudbdomains/gameotic/vvendor/zendframework/zendfframework/library/Zend/Mvc/Application.php:252 0.0304 3051952 4。Zend\EventManager\EventManager->trigger()/var/www/vhosts/ddns.net/subdomains/gamotic/vendor/zendframework/zendfframework/library/Zend/ModuleManager/ModuleManager.php:115 0.0305 3052128 5。Zend\EventManager\EventManager->triggerListeners()/var/www/vhosts/ddns.net/subdomains/gameotic/vvendor/zendframework/zendfframework/library/Zend/EventManager/EventManager.php:207 0.0311 3078984 6。call_user_func()/var/www/vhosts/ddns.net/subdomains/gameotic/vvendor/zendframework/zendfframework/library/Zend/EventManager/EventManager.php:468 0.0311 3079016 7。Zend\ModuleManager\ModuleManager->onLoadModules()/var/www/vhosts/ddns.net/sudbdomains/gameotic/vvendor/zendframework/zendfframework/library/Zend/EventManager/EventManager.php:468 0.0311 3079368 8。Zend\ModuleManager\ModuleManager->loadModule()/var/www/vhosts/ddns.net/sudbdomains/gameotic/vvendor/zendframework/zendfframework/library/Zend/ModuleManager/ModuleManagement.php:96 0.0319 3091176 9。Zend\EventManager\EventManager->trigger()/var/www/vhosts/ddns.net/subdomains/gamotic/vendor/zendframework/zendfframework/library/Zend/ModuleManager/ModuleManager.php:174 0.0319 3091216 10。Zend\EventManager\EventManager->triggerListeners()/var/www/vhosts/ddns.net/subdomains/gameotic/vvendor/zendframework/zendfframework/library/Zend/EventManager/EventManager.php:207 0.0320 3094016 11。call_user_func()/var/www/vhosts/ddns.net/subdomains/gameotic/vvendor/zendframework/zendfframework/library/Zend/EventManager/EventManager.php:468 0.0320 3094048 12。Zend\ModuleManager\Listener\AutoloaderListener->__invoke()/var/www/vhosts/ddns.net/sudbdomains/gameotic/vvendor/zendframework/zendfframework/library/Zend/EventManager/EventManager.php:468 0.0320 3095168 13。Zend\Loader\AutoloaderFactory::factory()/var/www/vhosts/ddns.net/subdomains/gameotic/vvendor/zendframework/zendfframework/library/Zend/ModuleManager/Listener/AutoloaderListener.php:34

我能做什么?我在Plesk面板(Centos 6.6)中使用Php 5.6

您的PHP版本和Zend Framework版本是不兼容的。我已经了解到PHP 5.3.3只支持Zend Framework 2.2版本,这在Zend Framework文档中没有明确说明。

相关内容

  • 没有找到相关文章

最新更新