title: PHP Soap - Can't import schema
body: <p>I want to connect to a Soap server, but I have the error : </p>
  
  <pre><code>SOAP-ERROR: Parsing Schema: can't import schema from 'http://domain.com:80/services.xsd
  </code></pre>
  
  <p>I took a look on other questions, and I have my "allow_url_open" to ON, I use SOAP_1_1 and OpenSSL is enabled.
  Something is weird, the URL to my SOAP server is :</p>
  
  <pre><code>https://domain.com/services?WSDL
  </code></pre>
  
  <p>And in the error, there is no more "https", but only "http" on port 80. I tried :</p>
  
  <pre><code>wget https://domain.com/services?WSDL
  </code></pre>
  
  <p>And it works. I have an XML file with all my services. But, using PHP and :</p>
  
  <pre><code>try
  {
      $client = new SoapClient('https://domain.com/services?wsdl',         
      array(
          "trace" =&gt; 1,
           "soap_version" =&gt; SOAP_1_1
     ));                 
  }
  catch (SoapFault $e)
  {
     var_dump($e);
  }
  </code></pre>
  
  <p>I have the "Parsing Schema: can't import schema" error. Do I need to configure something else on my PHP ? I am using Nginx and PHP-FPM 5. Thanks.</p>