Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/image/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PHP Amazon Web服务未捕获卷曲异常_Php_Curl_Ssl - Fatal编程技术网

PHP Amazon Web服务未捕获卷曲异常

PHP Amazon Web服务未捕获卷曲异常,php,curl,ssl,Php,Curl,Ssl,我正试图通过亚马逊网络服务制作一个网站来管理一些文件和链接。我是这项服务的新手,目前有一些问题。我正在尝试设置我的环境,但在确保在我的web服务器(curl和其他所有服务器)上启用了所有扩展后,我的apache错误日志中仍然出现错误: PHP Fatal error: Uncaught exception 'cURL_Exception' with message 'cURL resource: Resource id #10; cURL error: SSL certificate probl

我正试图通过亚马逊网络服务制作一个网站来管理一些文件和链接。我是这项服务的新手,目前有一些问题。我正在尝试设置我的环境,但在确保在我的web服务器(curl和其他所有服务器)上启用了所有扩展后,我的apache错误日志中仍然出现错误:

PHP Fatal error: Uncaught exception 'cURL_Exception' with message 'cURL resource: Resource id #10; cURL error: SSL certificate problem, verify that the CA cert is OK. Details:\nerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (cURL error code 60). See http://curl.haxx.se/libcurl/c/libcurl-errors.html for an explanation of error codes.' in C:\\www\\thorastrup\\client_app\\sdk-1.5.14\\lib\\requestcore\\requestcore.class.php:829\nStack trace:\n#0 C:\\www\\thorastrup\\client_app\\sdk-1.5.14\\services\\s3.class.php(910): RequestCore->send_request()\n#1 C:\\www\\thorastrup\\client_app\\sdk-1.5.14\\services\\s3.class.php(1147): AmazonS3->authenticate('php-sdk-getting...', Array)\n#2 C:\\www\\thorastrup\\client_app\\sdk-1.5.14\\_samples\\cli-s3_get_urls_for_uploads.php(60): AmazonS3->create_bucket('php-sdk-getting...', 's3-us-west-1.am...')\n#3 {main}\n thrown in C:\\www\\thorastrup\\client_app\\sdk-1.5.14\\lib\\requestcore\\requestcore.class.php on line 829
我只是不明白这个错误,如果有人能告诉我是错的,我会很高兴的?(我使用php-5在Windows 7上运行apache)

请参阅


至于CA bundle文件,您可以按照这些说明操作,也可以从

下载它。代码是SDK中samples文件夹中的一个文件:“cli-s3_get_url_for_uploads.php”。我刚刚下载了sdk,并使用我的凭据配置了config.inc.php文件,并启用了curl:/