Magento Tutorials

Please re-run Magento compile command


What is Magento Compilation?

The Magento Compilation is a feature that allows you to compile all Magento installation files (source code, including plugins) into a single folder in order to create a single include path. This feature is designed to improve the performance of your online store and is supposed to give between 25% and 50% increase in your page load speed.

If compilation is turned on in Magento, whenever there’s a change of source in the root folder, you need to re-run the compilation process for that change to be applied on your website.

“Please re-run Magento compile command” message

please re-run magento compile command

This is a system message that appears whenever there’s a change in Magento source. Every time the upgrade command is finished, you’ll see this message.

To run the compile command, type this line:

php bin/magento setup:di:compile

In Magento 2, if you already disable compilation or are working in dev-mode, you can ignore this message.


Related posts:
Could not resolve host ‘Magento-community’
Warning: Your Magento folder does not have sufficient write permissions




A knowledge craver who always strive to be wiser everyday.

    2 Comment threads
    1 Thread replies
    Most reacted comment
    Hottest comment thread
    3 Comment authors
    ivanDomAnna Boyd Recent comment authors
    newest oldest most voted
    Notify of
    Anna Boyd
    Anna Boyd

    I am sorry but I will have to decline the offer as I am a lady of 78 and all your technical requirements leave me baffled.


    hello, please, my menu does not work after compilation