{"action":"created","issue":{"url":"https://api.github.com/repos/docker-library/wordpress/issues/103","labels_url":"https://api.github.com/repos/docker-library/wordpress/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/docker-library/wordpress/issues/103/comments","events_url":"https://api.github.com/repos/docker-library/wordpress/issues/103/events","html_url":"https://github.com/docker-library/wordpress/pull/103","id":117579409,"number":103,"title":"Add opcache, redis extensions and set reasonable config values","user":{"login":"zyrill","id":33241,"avatar_url":"https://avatars.githubusercontent.com/u/33241?v=3","gravatar_id":"","url":"https://api.github.com/users/zyrill","html_url":"https://github.com/zyrill","followers_url":"https://api.github.com/users/zyrill/followers","following_url":"https://api.github.com/users/zyrill/following{/other_user}","gists_url":"https://api.github.com/users/zyrill/gists{/gist_id}","starred_url":"https://api.github.com/users/zyrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyrill/subscriptions","organizations_url":"https://api.github.com/users/zyrill/orgs","repos_url":"https://api.github.com/users/zyrill/repos","events_url":"https://api.github.com/users/zyrill/events{/privacy}","received_events_url":"https://api.github.com/users/zyrill/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-18T12:45:57Z","updated_at":"2015-11-25T11:08:33Z","closed_at":"2015-11-20T23:49:06Z","pull_request":{"url":"https://api.github.com/repos/docker-library/wordpress/pulls/103","html_url":"https://github.com/docker-library/wordpress/pull/103","diff_url":"https://github.com/docker-library/wordpress/pull/103.diff","patch_url":"https://github.com/docker-library/wordpress/pull/103.patch"},"body":"It's too much of a pain to enable caching for wordpress and I propose to make it a bit easier with this commit. redis support still needs additional work though: there is no wp backend by default (installation of plugin required) and some options have to be set in the wp-config. But at least with this commit activating caching is much easier as no new plugins have to be installed on top and the opcache is running by default."},"comment":{"url":"https://api.github.com/repos/docker-library/wordpress/issues/comments/159573950","html_url":"https://github.com/docker-library/wordpress/pull/103#issuecomment-159573950","issue_url":"https://api.github.com/repos/docker-library/wordpress/issues/103","id":159573950,"user":{"login":"michaellopez","id":487039,"avatar_url":"https://avatars.githubusercontent.com/u/487039?v=3","gravatar_id":"","url":"https://api.github.com/users/michaellopez","html_url":"https://github.com/michaellopez","followers_url":"https://api.github.com/users/michaellopez/followers","following_url":"https://api.github.com/users/michaellopez/following{/other_user}","gists_url":"https://api.github.com/users/michaellopez/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellopez/subscriptions","organizations_url":"https://api.github.com/users/michaellopez/orgs","repos_url":"https://api.github.com/users/michaellopez/repos","events_url":"https://api.github.com/users/michaellopez/events{/privacy}","received_events_url":"https://api.github.com/users/michaellopez/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T11:08:33Z","updated_at":"2015-11-25T11:08:33Z","body":"As a temporary workaround (until this either gets undone or another official workaround is posted) we just go into the running container and clear out the config that loads opcache. Then restart container.\r\n\r\n```sh\r\n$ docker exec -it <container> bash\r\n$ >/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini\r\n$ exit\r\n$ docker stop <container>\r\n$ docker start <container>\r\n```\r\n\r\nSomething like that :)"}}