title: How can I make SoapClient work on a server using nginx
body: <p>I'm getting an error when using SoapClient() request. No matter which param I use, the issue remains. The server uses Nginx.</p>
  
  <p>The SOAP error: <a href="http://lecturaparatodos.cl/soap.php" rel="nofollow noreferrer">http://lecturaparatodos.cl/soap.php</a></p>
  
  <p>I check if SOAP enabled, and it's: <a href="http://lecturaparatodos.cl/soap-check.php" rel="nofollow noreferrer">http://lecturaparatodos.cl/soap-check.php</a></p>
  
  <p>I chekck OpenSSL, SimpleXMLand all I think I need and it's ok: <a href="http://lecturaparatodos.cl/info.php" rel="nofollow noreferrer">http://lecturaparatodos.cl/info.php</a></p>
  
  <p>Here's the sample code in soap.php:</p>
  
  <pre><code>echo time();
  
  $client = new \SoapClient("https://demo.l1nda.nl/api/webservice/?wsdl", 
      [
          "trace" =&gt; 1,
          "exceptions" =&gt; true, 
          'cache_wsdl' =&gt; WSDL_CACHE_NONE,
          'soap_version' =&gt; SOAP_1_2,
          'ssl' =&gt; [         
              'verify_peer' =&gt; false,        
              'verify_peer_name' =&gt; false,         
              'allow_self_signed' =&gt; true     
          ] 
      ]
  );
  
  var_dump($client-&gt;__getFunctions());
  </code></pre>
  
  <p>SOAP error: <a href="http://lecturaparatodos.cl/soap.php" rel="nofollow noreferrer">http://lecturaparatodos.cl/soap.php</a></p>
  
  <p>SOAP Check: <a href="http://lecturaparatodos.cl/soap-check.php" rel="nofollow noreferrer">http://lecturaparatodos.cl/soap-check.php</a></p>
  
  <p>PHP info: <a href="http://lecturaparatodos.cl/info.php" rel="nofollow noreferrer">http://lecturaparatodos.cl/info.php</a></p>
  
  <p>I try everything I found on Google, here and other forums. All required modules are installed, updated and nothing seems to work. If I move to another server, works perfectly. I need to keep the website on the current server that's why I ask for advice.</p>
  
  <p>Thanks!</p>