aliyun/aliyun-log-php-sdk

How to use this SDK for my php website?

fullstact69 opened this issue · 1 comments

I used this SDK at my PHP code. But 500 internal error. How to use this for PHP code?

I can see the sample code at this SDK.
require_once realpath(dirname(FILE) . '/../Log_Autoload.php');
But this line is not worked at my project.

  1. composer installation is needed? In this case, how to call autoload.php and how to use "use" function for the declaration of Aliyun_Log_Client?
  2. If this SDK is imported manually (copy & paste), how to use "require" with Log_Autoload.php and How to use "use" function for declaration of Aliyun_Log_Client?