Last active
September 18, 2019 00:12
-
-
Save vielhuber/91fb5289160e410607c9ea89112a575b to your computer and use it in GitHub Desktop.
opcache rebuild #php #server
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
<?php | |
opcache_reset(); | |
header('Location: /'); |
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
curl http://tld.local/flush.php |
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
{ | |
"emeraldwalk.runonsave": { | |
"commands": [ | |
{ | |
"match": "\\.php$", | |
"cmd": "curl http://tld.com/flush.php" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment