Created
December 15, 2023 13:02
-
-
Save c7x43t/9e86046da1d57cfc16031279cd2e260b to your computer and use it in GitHub Desktop.
Notes on magento and how to execute commands without memory limit and with debug information.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Essentially: | |
PHP_MEMORY_LIMIT=-1 php -d memory_limit=-1 -d display_errors=1 -d display_startup_errors=1 bin/magento {command} -vvv | |
PHP_MEMORY_LIMIT=-1 php -d memory_limit=-1 -d display_errors=1 -d display_startup_errors=1 bin/magento deploy:mode:set production -vvv | |
PHP_MEMORY_LIMIT=-1 php -d memory_limit=-1 -d display_errors=1 -d display_startup_errors=1 bin/magento indexer:reindex -vvv | |
PHP_MEMORY_LIMIT=-1 php -d memory_limit=-1 -d display_errors=1 -d display_startup_errors=1 bin/magento deploy:mode:set default -vvv | |
php bin/magento maintenance:status | |
php bin/magento maintenance:disable | |
php bin/magento deploy:mode:set default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment