{"action":"created","issue":{"url":"https://api.github.com/repos/Shippable/support/issues/2186","labels_url":"https://api.github.com/repos/Shippable/support/issues/2186/labels{/name}","comments_url":"https://api.github.com/repos/Shippable/support/issues/2186/comments","events_url":"https://api.github.com/repos/Shippable/support/issues/2186/events","html_url":"https://github.com/Shippable/support/issues/2186","id":125561532,"number":2186,"title":"PHP xdebug.ini randomly missing","user":{"login":"mbrodala","id":5037116,"avatar_url":"https://avatars.githubusercontent.com/u/5037116?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrodala","html_url":"https://github.com/mbrodala","followers_url":"https://api.github.com/users/mbrodala/followers","following_url":"https://api.github.com/users/mbrodala/following{/other_user}","gists_url":"https://api.github.com/users/mbrodala/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrodala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrodala/subscriptions","organizations_url":"https://api.github.com/users/mbrodala/orgs","repos_url":"https://api.github.com/users/mbrodala/repos","events_url":"https://api.github.com/users/mbrodala/events{/privacy}","received_events_url":"https://api.github.com/users/mbrodala/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-08T07:56:34Z","updated_at":"2016-01-14T09:10:06Z","closed_at":null,"body":"A few of our latest builds fail because the `xdebug.ini` is missing while it shouldn't. ([Example](https://app.shippable.com/builds/568f690a340dc90c005d2abc)):\r\n\r\n```\r\ncp $HOME/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini /tmp\r\ncp: cannot stat ‘/root/.phpenv/versions/5.5/etc/conf.d/xdebug.ini’: No such file or directory\r\n```\r\n\r\nOur `shippable.yml` does something along these lines to boost Composer performance:\r\n\r\n```yaml\r\nbefore_install:\r\n  - ...\r\n  - cp $HOME/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini /tmp\r\n  - phpenv config-rm xdebug.ini\r\n  - composer ...\r\n\r\nscript:\r\n  - phpenv config-add /tmp/xdebug.ini\r\n  - bin/phpunit ...\r\n```\r\n\r\nRebuilding sometimes succeeds though, we haven't tried clearing the cache yet."},"comment":{"url":"https://api.github.com/repos/Shippable/support/issues/comments/171580616","html_url":"https://github.com/Shippable/support/issues/2186#issuecomment-171580616","issue_url":"https://api.github.com/repos/Shippable/support/issues/2186","id":171580616,"user":{"login":"mbrodala","id":5037116,"avatar_url":"https://avatars.githubusercontent.com/u/5037116?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrodala","html_url":"https://github.com/mbrodala","followers_url":"https://api.github.com/users/mbrodala/followers","following_url":"https://api.github.com/users/mbrodala/following{/other_user}","gists_url":"https://api.github.com/users/mbrodala/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrodala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrodala/subscriptions","organizations_url":"https://api.github.com/users/mbrodala/orgs","repos_url":"https://api.github.com/users/mbrodala/repos","events_url":"https://api.github.com/users/mbrodala/events{/privacy}","received_events_url":"https://api.github.com/users/mbrodala/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T09:10:06Z","updated_at":"2016-01-14T09:10:06Z","body":"In another project we have commented out the lines mentioned above. We'll see which is more reliable."}}