Pass the config_template as an optional parameter to apc/xdebug 

this should help a lot using own template here, since those are the most reconfigured one. Xdebug, usually autostart can let you go nuts, apc shz_size is also very app dependend.

I think thats pretty much a must have

I did avoid to have configureable vars for those settings to yet let the people do there whole template by  themselfs, before you need to cover every bit by a template var