{"action":"created","issue":{"url":"https://api.github.com/repos/yeszao/dnmp/issues/41","repository_url":"https://api.github.com/repos/yeszao/dnmp","labels_url":"https://api.github.com/repos/yeszao/dnmp/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/yeszao/dnmp/issues/41/comments","events_url":"https://api.github.com/repos/yeszao/dnmp/issues/41/events","html_url":"https://github.com/yeszao/dnmp/issues/41","id":342541702,"node_id":"MDU6SXNzdWUzNDI1NDE3MDI=","number":41,"title":"debian9内的PHP如何安装xdebug扩展？","user":{"login":"admininfon","id":22093516,"node_id":"MDQ6VXNlcjIyMDkzNTE2","avatar_url":"https://avatars0.githubusercontent.com/u/22093516?v=4","gravatar_id":"","url":"https://api.github.com/users/admininfon","html_url":"https://github.com/admininfon","followers_url":"https://api.github.com/users/admininfon/followers","following_url":"https://api.github.com/users/admininfon/following{/other_user}","gists_url":"https://api.github.com/users/admininfon/gists{/gist_id}","starred_url":"https://api.github.com/users/admininfon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/admininfon/subscriptions","organizations_url":"https://api.github.com/users/admininfon/orgs","repos_url":"https://api.github.com/users/admininfon/repos","events_url":"https://api.github.com/users/admininfon/events{/privacy}","received_events_url":"https://api.github.com/users/admininfon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-19T00:57:48Z","updated_at":"2018-07-19T05:45:57Z","closed_at":null,"author_association":"NONE","body":"我没有使用过Debian系统，而且对docker安装xdebug扩展命令不了解，所以没办法在PHP的dockerfile内编写xdebug安装指令，需求帮助。"},"comment":{"url":"https://api.github.com/repos/yeszao/dnmp/issues/comments/406161669","html_url":"https://github.com/yeszao/dnmp/issues/41#issuecomment-406161669","issue_url":"https://api.github.com/repos/yeszao/dnmp/issues/41","id":406161669,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjE2MTY2OQ==","user":{"login":"yeszao","id":3072379,"node_id":"MDQ6VXNlcjMwNzIzNzk=","avatar_url":"https://avatars2.githubusercontent.com/u/3072379?v=4","gravatar_id":"","url":"https://api.github.com/users/yeszao","html_url":"https://github.com/yeszao","followers_url":"https://api.github.com/users/yeszao/followers","following_url":"https://api.github.com/users/yeszao/following{/other_user}","gists_url":"https://api.github.com/users/yeszao/gists{/gist_id}","starred_url":"https://api.github.com/users/yeszao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeszao/subscriptions","organizations_url":"https://api.github.com/users/yeszao/orgs","repos_url":"https://api.github.com/users/yeszao/repos","events_url":"https://api.github.com/users/yeszao/events{/privacy}","received_events_url":"https://api.github.com/users/yeszao/received_events","type":"User","site_admin":false},"created_at":"2018-07-19T05:45:57Z","updated_at":"2018-07-19T05:45:57Z","author_association":"OWNER","body":"在dockerfile里面加上这个命令（默认其实也有的）：\r\n```\r\npecl install xdebug-2.4.1 \\\r\n    && docker-php-ext-enable xdebug\r\n```\r\n这是从pecl.php.net网站下载扩展包安装的，但是，pecl.php.net偶尔会访问不了（可能被墙），所以pecl命令安装失败的话，可以自己下载扩展包安装。\r\n\r\nxdebug扩展下载地址：https://pecl.php.net/package/xdebug\r\n\r\ndockerfile中的命令请看php/php54/Dockerfile最后7行对zendopcache的安装，仿照就可以了。"}}
{"actor":{"display_login":"yeszao"}}