Is there any way to exclude some extensions/modules from magento compilation ?

Because some extensions create issues with magento compilation like uRapidFlow .


2 Answers 2


No afaik there is not. You can compile all the modules or none.

But if you ask me, instead of compiling magento you should turn on realpath_cache_size and realpath_cache_ttl in your php.ini.

I'm not sure what size is good, but caching the path, where PHP finds your file speeds magento up and solves the problem with "finding" files.


  • 1
    I am already using these with following values - realpath_cache_size "32k",realpath_cache_ttl "7200" , But do you suggest if we use compilation along with these setting is more beneficial. I know there is no in built way to exclude a particular module but do we have any custom way to do this ?
    – Ravinder
    Sep 4, 2013 at 7:15
  • I don't like the compiler, therefore I have no idea. But as I said. My understanding of the situation is, that the compiler just solves the problem of the lookup of the file. If you just have a cache to look it up, it solves the problem and if you don't need to look it up in the include path (as @PaulHachmang said: fabrizio-branca.de/magento-class-path-cache.html) You don't need the compiler. Sep 4, 2013 at 8:04
  • I know what I am asking is not related at all to original question but can the solution mentioned at reference link is beneficial for us , if we are using Magento FPC and memcache
    – Ravinder
    Sep 5, 2013 at 5:03

you can go to /admin/system_config/edit/section/advanced/ in magento backend and disable the module.

  • 1
    He's talking about Compilation inside of magento not usage: support.sweettoothrewards.com/entries/… and suppressing the output of a module is NOT disabling it. Sep 4, 2013 at 6:45
  • @Anusha : Thanks for quick response but I don't want to disable module output , instead just want to exclude its files from compilation
    – Ravinder
    Sep 4, 2013 at 7:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.