Same or different runtime folder for each application?


I’m wondering whether I can use the same runtime folder by placing it in the common folder instead of creating two (or more) runtime folders, one for each application I have (frontend, backend, etc).

I’m following the approch described here.

Please advise. Thanks.


Just to you know, using the same runtime folder could cause collision/conflicts, for example while using file cache.

But if you still need this, then just modify main.php into your apps in maner:

// main.php

return array(


  'runtimePath' => dirname(__FILE__) . '/../../../common/runtime',