【发布时间】:2015-09-05 12:47:31
【问题描述】:
我在我的 web 应用程序中使用 http://simplehtmldom.sourceforge.net/ 和 file_get_contents()。 file_get_contents() 在本地主机上工作正常。但是当在服务器(Windows server 2012 r2)上上传 webApp 时,我得到了这个错误。如何解决此错误?
> Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in E:\cfnic.com\includes\class\PHP_Simple_HTML_DOM_Parser.php on line 75
Warning: file_get_contents(): Failed to enable crypto in E:\cfnic.com\includes\class\PHP_Simple_HTML_DOM_Parser.php on line 75
Warning: file_get_contents(https://www.markafoni.com/kadin/): failed to open stream: operation failed in E:\cfnic.com\includes\class\PHP_Simple_HTML_DOM_Parser.php on line 75
Fatal error: Call to a member function find() on boolean in E:\cfnic.com\includes\theme\category.php on line 159
【问题讨论】:
标签: ssl file-get-contents simple-html-dom