Php 简单xml在live server上不起作用

Php 简单xml在live server上不起作用,php,simplexml,zoho,Php,Simplexml,Zoho,“我有一个调用ZohoAPI的脚本,它在本地主机上运行良好,但当我将脚本上传到服务器时,它就不工作了,”errror说 Severity: Warning Message: simplexml_load_file(https://crm.zoho.com/crm/private/xml/Leads/getMyRecords?newFormat=1&apikey={removed}&ticket={removed}): failed to open stream: Connecti

“我有一个调用ZohoAPI的脚本,它在本地主机上运行良好,但当我将脚本上传到服务器时,它就不工作了,”errror说

Severity: Warning
Message: simplexml_load_file(https://crm.zoho.com/crm/private/xml/Leads/getMyRecords?newFormat=1&apikey={removed}&ticket={removed}): failed to open stream: Connection refused
Filename: models/xml_model.php
Line Number: 25
我检查了php.ini设置以检查simple xml是否启用,我可以看到它已启用。我还可以看到本地和主机的“允许url”都设置为“开”


有什么我必须检查的吗?

查看以下内容的输出:

<?php phpinfo(); ?>
转到php.ini文件并重新启动web服务器。它将加载OpenSSL扩展。

我刚才看到了phpinfo(),我可以看到https在那里。“https、ftps、compress.zlib、compress.bzip2、php、file、glob、data、http、ftp、phar、zip”,这些是为“已注册的php流”列出的值
extension=php_openssl.dll