I got an error, when I do "symfony cc" and then refreshing a page using process cache, that I need to add path to sfProcessCache to eaccelerator.allowed_admin_path on line 166. Strange was, that this error occures, when I run the script first time after "symfony cc". The second time it wouldn't appear, even I call manually sfProcessCache::clear();
I discovered, that on this line is eaccelerator_clean(); This method also deletes eaccelerator's cached scripts, not only the cached data.
Therefore I modify my sfProcessCache::clear() like this starting at line 166:
case 'eaccelerator':
$keys = eaccelerator_list_keys();
foreach ( $keys as $key)
{
if ( !eaccelerator_rm(substr($key['name'], 1)) )
{
echo 'cannot clear';
return false;
}
}
return true;