I have a problem based on the following question: Module cannot be initialized zf3 ...
As mentioned in this questiion, I did a dump-autoload with composer on the production-server and downloaded the project for working local on my computer.
When I load "http://localhost/myproject", everything is okay and I can access both Modules. When I load "http://production-server/myproject" (where I did the dump-autoload) nothing ist showed and I get
Uncaught Zend\ModuleManager\Exception\RuntimeException: Module (Blog) could not be initialized. in /srv/www/htdocs/zf3/vendor/zendframework/zend-modulemanager/src/ModuleManager.php:203
Stack trace:
#0 /srv/www/htdocs/zf3/vendor/zendframework/zend-modulemanager/src/ModuleManager.php(175): Zend\ModuleManager\ModuleManager-> loadModuleByName(Object(Zend\ModuleManager\ModuleEvent))
#1 /srv/www/htdocs/zf3/vendor/zendframework/zend-modulemanager/src/ModuleManager.php(97): Zend\ModuleManager\ModuleManager->loadModule('Blog')
#2 /srv/www/htdocs/zf3/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\ModuleManager\ModuleManager->onLoadModules(Object(Zend\ModuleManager\ModuleEvent))
#3 /srv/www/htdocs/zf3/vendor/zendframework/zend-eventmanager/src/EventManager.php(171): Zend\EventManager\EventManager->triggerListeners(Object(Zend\ModuleManager\ModuleEvent))
#4 /srv/www/htdocs/zf3/vendor/zendframework/zend-modulemanager/src/ModuleManager.php(120): Zend\EventManager\EventManager->triggerEvent(Object(Zen in /srv/www/htdocs/zf3/vendor/zendframework/zend-modulemanager/src/ModuleManager.php on line 203
It seems there is a difference between the two apache2-servers (both on PHP7).
Has anybody an idea what to search for?