You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once that file is cached for one of the applications, the other applications all hit the same file in the opcode cache. Changing the require a full path using getcwd fixes this issue.
We have multiple ZF2 applications running on the same server. The ./public/index.php does a require of "config/application.config.php".
Zend\Mvc\Application::init(require 'config/application.config.php')->run();
Once that file is cached for one of the applications, the other applications all hit the same file in the opcode cache. Changing the require a full path using getcwd fixes this issue.
Zend\Mvc\Application::init(require getcwd() . '/config/application.config.php')->run();
The text was updated successfully, but these errors were encountered: