I have the following code that works perfectly on host location:
$wsdl ='http://ws.portaledu.com.br:8051/wsConsultaSQL/MEX?wsdl';
$client = new SoapClient($wsdl,array(
'trace' => true,
'exceptions' => true,
'login' => $login,
'password' => $password
));
When I put in the hosting, this code returns the error 500:
[24-May-2018 09:57:01 America / Sao_Paulo] PHP Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: WSDL parsing: Could not load from ' link ': failed to load external entity" link " in /home/estiloso/public_html/fametro/resultado/teste.php:16 Stack trace:
0 /home/estiloso/public_html/fametro/result/teste.php(16): SoapClient-> SoapClient (' link .. . ', Array)
1 {main} thrown in /home/estiloso/public_html/fametro/resultado/teste.php on line 16
What will be missing from the server, I'm using PHP 7.1