{"action":"created","issue":{"url":"https://api.github.com/repos/docker-library/php/issues/14","labels_url":"https://api.github.com/repos/docker-library/php/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/docker-library/php/issues/14/comments","events_url":"https://api.github.com/repos/docker-library/php/issues/14/events","html_url":"https://github.com/docker-library/php/issues/14","id":45182488,"number":14,"title":"How to change the UID of the Apache process?","user":{"login":"jpetazzo","id":171481,"avatar_url":"https://avatars.githubusercontent.com/u/171481?v=3","gravatar_id":"","url":"https://api.github.com/users/jpetazzo","html_url":"https://github.com/jpetazzo","followers_url":"https://api.github.com/users/jpetazzo/followers","following_url":"https://api.github.com/users/jpetazzo/following{/other_user}","gists_url":"https://api.github.com/users/jpetazzo/gists{/gist_id}","starred_url":"https://api.github.com/users/jpetazzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpetazzo/subscriptions","organizations_url":"https://api.github.com/users/jpetazzo/orgs","repos_url":"https://api.github.com/users/jpetazzo/repos","events_url":"https://api.github.com/users/jpetazzo/events{/privacy}","received_events_url":"https://api.github.com/users/jpetazzo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-10-07T22:59:38Z","updated_at":"2015-02-05T23:05:55Z","closed_at":null,"body":"On `php:apache`, we are trying to change the UID of the Apache process, so that it can access files owned by another uid than `33/www-data` (because we're sharing some files with another container).\r\n\r\nI tried:\r\n- setting `ENV APACHE_RUN_USER 1000`\r\n- editing `/etc/apache2/envvars`\r\n- running Apache with `-D APACHE_RUN_USER=1000`\r\n\r\nNoworkie :(\r\n\r\n@tianon told me:\r\n\r\n```irc\r\n15:57 <tianon> you want -u SOME-UID and probably have to sed the conf file\r\n15:57 <tianon> can you file an issue?\r\n15:57 <tianon> and say I sent you?\r\n```"},"comment":{"url":"https://api.github.com/repos/docker-library/php/issues/comments/73149463","html_url":"https://github.com/docker-library/php/issues/14#issuecomment-73149463","issue_url":"https://api.github.com/repos/docker-library/php/issues/14","id":73149463,"user":{"login":"yosifkit","id":896423,"avatar_url":"https://avatars.githubusercontent.com/u/896423?v=3","gravatar_id":"","url":"https://api.github.com/users/yosifkit","html_url":"https://github.com/yosifkit","followers_url":"https://api.github.com/users/yosifkit/followers","following_url":"https://api.github.com/users/yosifkit/following{/other_user}","gists_url":"https://api.github.com/users/yosifkit/gists{/gist_id}","starred_url":"https://api.github.com/users/yosifkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosifkit/subscriptions","organizations_url":"https://api.github.com/users/yosifkit/orgs","repos_url":"https://api.github.com/users/yosifkit/repos","events_url":"https://api.github.com/users/yosifkit/events{/privacy}","received_events_url":"https://api.github.com/users/yosifkit/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T23:05:55Z","updated_at":"2015-02-05T23:05:55Z","body":"@md5, that seems to be a valid solution.  What are the problems involved?"}}