{"action":"closed","issue":{"url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/80","labels_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/80/comments","events_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/80/events","html_url":"https://github.com/cloudfoundry/php-buildpack/issues/80","id":90067867,"number":80,"title":"Build Pack Compile phase Error ","user":{"login":"Oliyavanjb","id":7824608,"avatar_url":"https://avatars.githubusercontent.com/u/7824608?v=3","gravatar_id":"","url":"https://api.github.com/users/Oliyavanjb","html_url":"https://github.com/Oliyavanjb","followers_url":"https://api.github.com/users/Oliyavanjb/followers","following_url":"https://api.github.com/users/Oliyavanjb/following{/other_user}","gists_url":"https://api.github.com/users/Oliyavanjb/gists{/gist_id}","starred_url":"https://api.github.com/users/Oliyavanjb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oliyavanjb/subscriptions","organizations_url":"https://api.github.com/users/Oliyavanjb/orgs","repos_url":"https://api.github.com/users/Oliyavanjb/repos","events_url":"https://api.github.com/users/Oliyavanjb/events{/privacy}","received_events_url":"https://api.github.com/users/Oliyavanjb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-22T10:53:24Z","updated_at":"2015-07-30T20:17:43Z","closed_at":"2015-07-30T20:17:42Z","body":"I am new to CloudFoundry, downloaded the code from git hub php-buildpack and create the same directory structure in our local stash repo and try to point to STASH Repo instead of GitHub, While trying to push the code in command line we are getting the below error.\r\nCould you please help on this.\r\n\r\n```\r\n2015-06-22T06:36:21.37-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-zip-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:30.31-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-fpm-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:31.91-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-mysqli-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:33.12-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-zlib-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:34.13-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-pdo_sqlite-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:35.24-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-openssl-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:36.76-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-soap-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:37.87-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-pdo-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:38.92-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-memcache-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:41.02-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-mbstring-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:42.12-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-mysql-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:43.22-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-mcrypt-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:44.53-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-fileinfo-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:45.69-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-curl-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:46.59-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-xsl-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:52.81-0400 [API]     ERR Encountered error: App staging failed in the buildpack compile phase\r\n2015-06-22T06:36:55.81-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/php/5.6.7/php-cli-5.6.7.tar.gz] to [/tmp]\r\n2015-06-22T06:36:58.15-0400 [STG]     OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/php/binaries/lucid/composer/1.0.0-alpha10/composer.phar] to [/tmp]\r\n2015-06-22T06:36:59.02-0400 [STG]     OUT PROTIP: Include a `composer.lock` file with your application! This will make sure the exact same version of dependencies are used when you deploy to CloudFoundry.\r\n2015-06-22T06:36:59.26-0400 [STG]     ERR   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n2015-06-22T06:36:59.26-0400 [STG]     ERR                                  Dload  Upload   Total   Spent    Left  Speed\r\n2015-06-22T06:36:59.60-0400 [STG]     ERR   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r\n2015-06-22T06:36:59.60-0400 [STG]     ERR 141   283  141   283    0     0    497      0 --:--:-- --:--:-- --:--:--   825\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR /tmp/staged/app/php/bin/php: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR Traceback (most recent call last):\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR   File \"/tmp/buildpacks/bpackphp/scripts/compile.py\", line 51, in <module>\r\n2015-06-22T06:36:59.61-0400 [STG]     OUT -----> Composer command failed\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR     .from_build_pack('lib/additional_commands')\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR   File \"/tmp/buildpacks/bpackphp/lib/build_pack_utils/builder.py\", line 189, in extensions\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR     process_extension(path, ctx, 'compile', process, args=[self])\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR   File \"/tmp/buildpacks/bpackphp/lib/build_pack_utils/utils.py\", line 69, in process_extension\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR     success(getattr(extn, to_call)(*args))\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR   File \"/tmp/buildpacks/bpackphp/extensions/composer/extension.py\", line 420, in compile\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR     return composer.compile(install)\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR   File \"/tmp/buildpacks/bpackphp/lib/extension_helpers.py\", line 154, in compile\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR     self._compile(install)\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR   File \"/tmp/buildpacks/bpackphp/extensions/composer/extension.py\", line 173, in _compile\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR     self.run()\r\n2015-06-22T06:36:59.61-0400 [STG]     ERR   File \"/tmp/buildpacks/bpackphp/extensions/composer/extension.py\", line 305, in run\r\n2015-06-22T06:36:59.62-0400 [STG]     ERR     *self._ctx['COMPOSER_INSTALL_OPTIONS'])\r\n2015-06-22T06:36:59.62-0400 [STG]     ERR   File \"/tmp/buildpacks/bpackphp/extensions/composer/extension.py\", line 350, in run\r\n2015-06-22T06:36:59.62-0400 [STG]     ERR     shell=True)\r\n2015-06-22T06:36:59.62-0400 [STG]     ERR   File \"/tmp/buildpacks/bpackphp/lib/build_pack_utils/runner.py\", line 109, in stream_output\r\n2015-06-22T06:36:59.62-0400 [STG]     ERR     raise CalledProcessError(retcode, cmd)\r\n2015-06-22T06:36:59.62-0400 [STG]     ERR build_pack_utils.runner.CalledProcessError: Command '<open file '<fdopen>', mode 'w' at 0x28b1db0>' returned non-zero exit status 127\r\n2015-06-22T06:36:59.64-0400 [STG]     OUT Staging failed: Buildpack compilation step failed\r\n```\r\n\r\nThanks in Advance."}}