{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/50","labels_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/50/comments","events_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/50/events","html_url":"https://github.com/cloudfoundry/php-buildpack/issues/50","id":60080473,"number":50,"title":"Please add pthreads and protobuf support in buildpack","user":{"login":"libnux","id":4498974,"avatar_url":"https://avatars.githubusercontent.com/u/4498974?v=3","gravatar_id":"","url":"https://api.github.com/users/libnux","html_url":"https://github.com/libnux","followers_url":"https://api.github.com/users/libnux/followers","following_url":"https://api.github.com/users/libnux/following{/other_user}","gists_url":"https://api.github.com/users/libnux/gists{/gist_id}","starred_url":"https://api.github.com/users/libnux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libnux/subscriptions","organizations_url":"https://api.github.com/users/libnux/orgs","repos_url":"https://api.github.com/users/libnux/repos","events_url":"https://api.github.com/users/libnux/events{/privacy}","received_events_url":"https://api.github.com/users/libnux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-06T09:50:53Z","updated_at":"2015-03-06T13:31:22Z","closed_at":null,"body":"We're using the extensions of pthread and protobuf in our php applications, and planning to run it in CF. \r\nBut seems that they are not included in current php buildpack. \r\n\r\nCould you please add support for these two extensions? \r\nThe latest versions are OK. Thanks.\r\n\r\npthread: http://php.net/manual/en/pthreads.installation.php\r\nprotobuf: https://github.com/allegro/php-protobuf/\r\n"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/comments/77558572","html_url":"https://github.com/cloudfoundry/php-buildpack/issues/50#issuecomment-77558572","issue_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/50","id":77558572,"user":{"login":"dmikusa-pivotal","id":4643262,"avatar_url":"https://avatars.githubusercontent.com/u/4643262?v=3","gravatar_id":"","url":"https://api.github.com/users/dmikusa-pivotal","html_url":"https://github.com/dmikusa-pivotal","followers_url":"https://api.github.com/users/dmikusa-pivotal/followers","following_url":"https://api.github.com/users/dmikusa-pivotal/following{/other_user}","gists_url":"https://api.github.com/users/dmikusa-pivotal/gists{/gist_id}","starred_url":"https://api.github.com/users/dmikusa-pivotal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmikusa-pivotal/subscriptions","organizations_url":"https://api.github.com/users/dmikusa-pivotal/orgs","repos_url":"https://api.github.com/users/dmikusa-pivotal/repos","events_url":"https://api.github.com/users/dmikusa-pivotal/events{/privacy}","received_events_url":"https://api.github.com/users/dmikusa-pivotal/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T13:31:22Z","updated_at":"2015-03-06T13:31:22Z","body":"Hello.  I don't know that we can support pthread at this time.  From the docs, it says...\r\n\r\n>pthreads requires a build of PHP with ZTS (Zend Thread Safety) enabled ( --enable-maintainer-zts or --enable-zts on Windows )\r\n\r\nand we don't presently build PHP with ZTS.  It may be something we could add in the future, given enough demand.  At the present, if you need this I'd suggest building your own PHP binaries.  See [here](https://github.com/dmikusa-pivotal/cf-php-buildpack-binary-build-scripts/), which is the automated build system that we use.  Instructions on it's usage are in the readme.  More on using your own binaries can be found [here](https://github.com/cloudfoundry/php-buildpack/blob/master/docs/binaries.md).\r\n\r\nLooks like php-protobuf should be no problem.  Adding that now.  Will let you know when something is available to test.\r\n\r\n\r\n\r\n"}}