{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/17491","labels_url":"https://api.github.com/repos/owncloud/core/issues/17491/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/17491/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/17491/events","html_url":"https://github.com/owncloud/core/pull/17491","id":93799991,"number":17491,"title":"Fix differences between php and php-fpm for scriptname","user":{"login":"wpoely86","id":424570,"avatar_url":"https://avatars.githubusercontent.com/u/424570?v=3","gravatar_id":"","url":"https://api.github.com/users/wpoely86","html_url":"https://github.com/wpoely86","followers_url":"https://api.github.com/users/wpoely86/followers","following_url":"https://api.github.com/users/wpoely86/following{/other_user}","gists_url":"https://api.github.com/users/wpoely86/gists{/gist_id}","starred_url":"https://api.github.com/users/wpoely86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wpoely86/subscriptions","organizations_url":"https://api.github.com/users/wpoely86/orgs","repos_url":"https://api.github.com/users/wpoely86/repos","events_url":"https://api.github.com/users/wpoely86/events{/privacy}","received_events_url":"https://api.github.com/users/wpoely86/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/3%20-%20To%20Review","name":"3 - To Review","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/backport-request","name":"backport-request","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/37","html_url":"https://github.com/owncloud/core/milestones/8.2-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/37/labels","id":993629,"number":37,"title":"8.2-current","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":629,"closed_issues":132,"state":"open","created_at":"2015-02-24T16:19:37Z","updated_at":"2015-07-16T16:52:50Z","due_on":"2015-10-20T04:00:00Z","closed_at":null},"comments":17,"created_at":"2015-07-08T14:15:15Z","updated_at":"2015-07-17T01:21:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/17491","html_url":"https://github.com/owncloud/core/pull/17491","diff_url":"https://github.com/owncloud/core/pull/17491.diff","patch_url":"https://github.com/owncloud/core/pull/17491.patch"},"body":"Originally done by @niobos in #7719. If you want to run owncloud with\r\nphp-fpm on RHEL 7, you need this. There is a bug in php that causes\r\n$_SERVER['SCRIPT_NAME'] to also contains the PATH_INFO. This works\r\naround that issue.\r\n\r\nI need this patch to get owncloud to work on RHEL7 with apache 2.4 and php-fpm."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/122143086","html_url":"https://github.com/owncloud/core/pull/17491#issuecomment-122143086","issue_url":"https://api.github.com/repos/owncloud/core/issues/17491","id":122143086,"user":{"login":"danmac-uk","id":7547419,"avatar_url":"https://avatars.githubusercontent.com/u/7547419?v=3","gravatar_id":"","url":"https://api.github.com/users/danmac-uk","html_url":"https://github.com/danmac-uk","followers_url":"https://api.github.com/users/danmac-uk/followers","following_url":"https://api.github.com/users/danmac-uk/following{/other_user}","gists_url":"https://api.github.com/users/danmac-uk/gists{/gist_id}","starred_url":"https://api.github.com/users/danmac-uk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmac-uk/subscriptions","organizations_url":"https://api.github.com/users/danmac-uk/orgs","repos_url":"https://api.github.com/users/danmac-uk/repos","events_url":"https://api.github.com/users/danmac-uk/events{/privacy}","received_events_url":"https://api.github.com/users/danmac-uk/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T01:21:40Z","updated_at":"2015-07-17T01:21:40Z","body":"This one works fine for me:\r\nhttps://github.com/wpoely86/core/commit/5a49df542697d52bfbde5994ffcfeba88fc8ab9a.patch\r\n\r\nMaybe this will save someone a bit of pain ...\r\n\r\nDownload the file above to your home:\r\n`cd`\r\n`wget https://github.com/wpoely86/core/commit/5a49df542697d52bfbde5994ffcfeba88fc8ab9a.patch`\r\nGo to the location of the file to patch:\r\n`cd /var/www/owncloud/lib/private/appframework/http`\r\nRecommended to backup the existing file with:\r\n`cp request.php request.php.old`\r\nApply the patch:\r\n`patch < ~/5a49df542697d52bfbde5994ffcfeba88fc8ab9a.patch`\r\nMaybe you don't have patch installed, for Ubuntu this is:\r\n`apt-get install patch`\r\n\r\nThanks @wpoely86 and @niobos :)"}}