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 | |
/** | |
* Clear APC cache | |
* | |
* Depending on distribution and configuration the APC cache may use separate memory segment for CLI and module/FPM. | |
* Thus you have to run the commands from your browser. | |
*/ | |
foreach(array('user','opcode','') as $cacheType ){ |