Search code examples
phpibm-cloudphp-extension

How to install php extension on bluemix?


I need to install pecl_http extension on bluemix, which pecl_http itself require raphf.so and propro.so. I already downloaded .zip file of it

if the solution is building a buildpack please provide clear answer or provide good source. I tried to open https://github.com/cloudfoundry/php-buildpack and got no clear guide to add extension.

any help would be appreciated


Solution

  • This library isn't available on php buildpack. You should switch to proper http methods for php, or better use curl extension, available and also more customisable than pecl_http