title: PHP Enable bz2 Extension In Php.ini
body: <p>I an trying to download a file using composer in php, but the file needs to be decompress with bzipped. Here is the error I get:</p>
  
  <pre><code>[UnexpectedValueException]                                                   
  unable to decompress bzipped phar archive "/home/admin/public_html/subdo  
  mains/testing4/vendor/jakoch/phantomjs/da2db411008833dfaa24e92e129aa037.bz2  
  " to temporary file, enable bz2 extension in php.ini   
  </code></pre>
  
  <p>In my php.ini file I have added:</p>
  
  <pre><code>extension = "bz2.so" 
  </code></pre>
  
  <p>After adding that I still get the error when I try and install the file. </p>
  
  <p>When I run infophp(-1) I get:</p>
  
  <pre><code>bzip2 compression   disabled (install pecl/bz2)
  </code></pre>
  
  <p>Do I need to enable bzip2? If so how do I do it. Am I doing something wrong with allowing the extension? </p>