Skip to content

Instantly share code, notes, and snippets.

@memoryleak
Created July 5, 2019 15:25
Show Gist options
  • Save memoryleak/0f1f00acf462fbb139756b13992438d9 to your computer and use it in GitHub Desktop.
Save memoryleak/0f1f00acf462fbb139756b13992438d9 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
php -d opcache.enable=0 -d display_errors=1 -d set_time_limit=0 -d memory_limit=-1 bin/magento setup:upgrade
php -d opcache.enable=0 -d display_errors=1 -d set_time_limit=0 -d memory_limit=-1 bin/magento setup:di:compile
php -d opcache.enable=0 -d display_errors=1 -d set_time_limit=0 -d memory_limit=-1 bin/magento cache:flush
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment