title: Connect to WSDL service with PHP script from CLI?
body: <p>I'm having the problem with running PHP script from command line (<code>php.exe -f &lt;php_file&gt;</code>) in Windows 7. In the script I'm trying connect to external WSDL service by HTTPS protocol (<code>$soapClient = new SoapClient($jira_wsdl_url);</code>).</p>
  
  <p>I'm getting the following error:</p>
  
  <blockquote>
    <p>SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://...' : failed to
    load external entity "https://..."</p>
  </blockquote>
  
  <p>When I run the script from browser then there is no problem connect to WSDL service.</p>
  
  <p>In both cases I'm using the same <code>php.ini</code> configuration file.</p>