错误日志报:mod_fcgid: get overlap result error
宝塔面板是最新版本,服务器是Windows Server 2016 数据中心版 64位简体中文,16G内存,apache2.4.52,php版本 php 5.6,未安装非默认扩展AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
(OS 109)�ܵ��ѽ�����: mod_fcgid: get overlap result error
End of script output before headers: index.php
背景,框架 thinkphp 2.1 使用 腾讯云存储标准sdk,
$cosClient = new Qcloud\Cos\Client(
array(
'region' => $cos['region'],//设置一个默认的存储桶地域
//'schema' => 'https', //协议头部,默认为http
'credentials'=> array(
'secretId'=> $cos['SecretId'] ,//"云 API 密钥 SecretId";
'secretKey' => $cos['SecretKey'])));//"云 API 密钥 SecretKey";
$local_path = $file;
<font color="#ff0000">#自此行以上可以正常运行,此行以下报 500 错误</font>
try {
$result = $cosClient->upload(
$bucket = $cos['bucket'] ,//格式:BucketName-APPID
$key =$filename,
$body = fopen($local_path, 'rb')
);
// 请求成功
//dump($result['Location']) ;
return $result;
} catch (\Exception $e) {
// 请求失败
return $e;
}错误日志有此错误信息
(OS 109)�ܵ��ѽ����� : mod_fcgid: get overlap result error
End of script output before headers: index.php还请大师帮忙排查!
页:
[1]