Created
February 8, 2020 12:32
-
-
Save armandduijn/0d0cf4756cce9b5a617ef4af72f8cfb4 to your computer and use it in GitHub Desktop.
Clear Doctrine cache when using APC
This file contains 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
<?php | |
# Running `orm:clear-cache:metadata` may fail with an error about | |
# shared webserver memory. Upload this PHP script to a public | |
# folder on your webserver and access it via the web. | |
apc_clear_cache(); | |
apc_clear_cache('user'); | |
print("Done"); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment