aliyun/aliyun-log-php-sdk

php cannot declare class protobufmessage, because the name is already in use

Opened this issue · 0 comments

Aliyun/Log/Client.php 中的代码需要注释掉 如下
require_once realpath ( dirname ( FILE ) . '/../../Log_Autoload.php' );
require_once realpath ( dirname ( FILE ) . '/requestcore.class.php' );
require_once realpath ( dirname ( FILE ) . '/sls.proto.php' );
// require_once realpath ( dirname ( FILE ) . '/protocolbuffers.inc.php' );