我试图在我的电脑上安装 easyphp
这样的简单脚本:
<?php
include_once ('C:\EasyPHP-Devserver-17\eds-binaries\php\php713vc14x86x170802204733\simple_html_dom.php');
$html = file_get_html('https://www.sports-reference.com/olympics/summer/1896/');
echo $html;
?>
我在php.ini中启用了php_openssl扩展,但我仍然收到错误:
警告:file_get_contents():无法找到包装器“https” - 您是否忘记在配置PHP时启用它?在第75行的C:\ EasyPHP-Devserver-17 \ eds-binaries \ php \ php713vc14x86x170802204733 \ simple_html_dom.php
我还能做什么?
我有来自phpinfo的这个:
我试图将php.ini文件放入c:\ windows但它仍然无效 .