{"action":"closed","issue":{"url":"https://api.github.com/repos/progrium/dokku/issues/939","labels_url":"https://api.github.com/repos/progrium/dokku/issues/939/labels{/name}","comments_url":"https://api.github.com/repos/progrium/dokku/issues/939/comments","events_url":"https://api.github.com/repos/progrium/dokku/issues/939/events","html_url":"https://github.com/progrium/dokku/issues/939","id":56372745,"number":939,"title":"PHP: Failed to resolve runtime requirements.","user":{"login":"intellent","id":2074113,"avatar_url":"https://avatars.githubusercontent.com/u/2074113?v=3","gravatar_id":"","url":"https://api.github.com/users/intellent","html_url":"https://github.com/intellent","followers_url":"https://api.github.com/users/intellent/followers","following_url":"https://api.github.com/users/intellent/following{/other_user}","gists_url":"https://api.github.com/users/intellent/gists{/gist_id}","starred_url":"https://api.github.com/users/intellent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intellent/subscriptions","organizations_url":"https://api.github.com/users/intellent/orgs","repos_url":"https://api.github.com/users/intellent/repos","events_url":"https://api.github.com/users/intellent/events{/privacy}","received_events_url":"https://api.github.com/users/intellent/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-03T12:43:24Z","updated_at":"2015-02-03T18:26:17Z","closed_at":"2015-02-03T18:26:17Z","body":"Hey everyone,\r\n\r\njust installed Dokku v0.3.13 on Ubuntu 14.04 (w/ Docker 1.4.1) and tried to deploy my first PHP app. This is, what I get:\r\n\r\n    $ git push deploy_production master:master\r\n    Counting objects: 52, done.\r\n    Delta compression using up to 4 threads.\r\n    Compressing objects: 100% (45/45), done.\r\n    Writing objects: 100% (52/52), 18.02 KiB | 0 bytes/s, done.\r\n    Total 52 (delta 25), reused 15 (delta 4)\r\n    -----> Cleaning up ...\r\n    -----> Building my-php-app ...\r\n    -----> Adding BUILD_ENV to build environment...\r\n    -----> PHP app detected\r\n       \r\n           !     ERROR: Failed to resolve runtime requirements.\r\n           If the issue persists, please contact support.\r\n       \r\n    To dokku@my-host.com:my-php-app\r\n     ! [remote rejected] master -> master (pre-receive hook declined)\r\n    error: failed to push some refs to 'dokku@my-host.com:my-php-app'\r\n\r\nIt’s a simple app with an index.php in its root. I tried to add a composer.json, but the error persists:\r\n\r\n    {\r\n        \"require\": {\r\n            \"php\": \">=5.5.10\"\r\n        },\r\n        \"extra\": {\r\n            \"heroku\": {\r\n                \"index-document\": \"index.php\"\r\n            }\r\n        }\r\n    }\r\n\r\nDid I miss anything during installation? Do I need to compile PHP beforehand?"}}