How can I disable Magento compiler without admin access?

There are times when  you cannot access the Magneto site admin in order to disable the compiler e.g. because of errors when trying to get to admin. Therefore sometimes you’ll need to know how to disable the Magento compiler without admin access.

You’ll need shell access to do this, and then issue the following shell commands:

$ cd shell
$ php compiler.php disable

You can use this shell command to enable the Magento compiler again:

$ php compiler.php compile

You can check the status of the Magento compiler using the following command:

$php compiler.php state

Nina Young About the author

I studied mathematics at university, taught myself software development, honed my skills with multinational companies such as IBM and have set up and sold my own businesses. My perspective covers the all important period when a business moves from small and successful to substantial and market-leading, and my personal experience allows me to provide online solutions that give business leaders mastery of their online presence and control over business development.

No Comments

Post a Comment