Skip to content

Instantly share code, notes, and snippets.

@tystr
Created February 21, 2013 22:20
Show Gist options
  • Select an option

  • Save tystr/5008881 to your computer and use it in GitHub Desktop.

Select an option

Save tystr/5008881 to your computer and use it in GitHub Desktop.
Clearing APC cache when deploying a symfony2 application
# Clear APC caches
after "deploy:finalize_update" do
pretty_print "--> Clearing APC caches"
run "cd #{release_path} && php app/console apc:clear --env=prod"
puts_ok
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment