APC Cache

As APC is used for speeding up php sites it by caching php. But many times we face caching problem. We need to clear php cache. It is easy to clear cache from web url but many of us dont know that apc cache can not be cleared from CLI mode.

For command line , we need to call below php script from curl or lynx.

echo json_encode(array(‘success’ => true));
For this , copy the script to web folder and call the script using curl or lynx.
If nothing works, restart your web service.


Share and Enjoy

  • Facebook
  • Twitter
  • Google Plus
  • Live
  • Delicious
  • Digg
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
  • Instapaper
  • FriendFeed