title: How to compile php with specific versions of curl and openssl?
body: <p>I want to use the library that have specific requirements for php extensions. So I need to use <code>php 7.0</code> or <code>php 7.1</code> with such versions of php extensions:</p>
  
  <ul>
  <li>lib-curl >= 7.46.0 (with http/2 support enabled)</li>
  <li>lib-openssl >= 1.0.2e</li>
  </ul>
  
  <p>How can I compile php with such requirements?</p>