configuring additional modules
adding module in /root/
./configure: error: no /root//config was found
sudo apt-get install build-essential zlib1g-dev libpcre3 libpcre3-dev unzip uuid-dev
wget https://dl.google.com/dl/page-speed/psol/1.13.35.2-stable/stable/.tar.gz
$url = 'https://api-metrika.yandex.ru/management/v1/counter/' . $counter_id . '/offline_conversions/upload_calls?client_id_type=CLIENT_ID&oauth_token=' . $token;
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_HTTPHEADER, ['Content-Type: multipart/form-data; boundary=------------------------$boundary']);
$file = file('file.csv');
curl_setopt($curl, CURLOPT_POSTFIELDS, ['file' => new CurlFile($file)]);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$curl_response = curl_exec($curl);
curl_close($curl);
var_dump($curl_response);
string(202) "{"errors":[{"error_type":"invalid_uploading","message":"Не найден параметр запроса.","location":"file"}],"code":400,"message":"Не найден параметр запроса."}"